From 1d194281ce2d360196d9e955fe0e573bd4bd2a64 Mon Sep 17 00:00:00 2001 From: Fredrik Noring <noring@nocrew.org> Date: Fri, 8 Sep 2000 17:26:34 +0200 Subject: [PATCH] Fixed typo. Rev: bin/mkpackage.pike:1.8 --- bin/mkpackage.pike | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mkpackage.pike b/bin/mkpackage.pike index 7484225fac..f7a9b31db6 100644 --- a/bin/mkpackage.pike +++ b/bin/mkpackage.pike @@ -74,6 +74,9 @@ class Package string setup_filename = unique_name('S')+".sh"; string unpack_directory = unique_name('D'); + string features = Process.popen(pike_filename+" --features"); + options[({ "--features" })] = "echo \""+(features || "")+"\"\nexit"; + string setup = ("#!/bin/sh\n" "TARFILE=\"$1\"; shift; ARGS=''\n" "CONTENTS=`tar tf \"$TARFILE\" | sed -ne '/^"+ @@ -117,9 +120,6 @@ class Package rmrf("#!", setup_filename); - string features = Process.popen(pike_filename+" --features"); - options[({ "--features" })] = "echo \""+(features || "")+"\"\nexit"; - if(!Stdio.write_file(setup_filename, setup)) ERR(("Failed to write setup script %O., ", setup_filename)); chmod(setup_filename, 0755); -- GitLab