From: Raymund Will <ray@caldera.de>
Date: Fri, 4 Aug 2000 12:07:09 +0000 (+0200)
Subject: [ID 20000804.002] configure.gnu and arguments with whitespace characters
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9300ef0fea165be49d88144848cf782932f9cfb9;p=p5sagit%2Fp5-mst-13.2.git

[ID 20000804.002] configure.gnu and arguments with whitespace characters
Message-Id: <20000804120709.A14982@caldera.de>

p4raw-id: //depot/perl@6521
---

diff --git a/configure.gnu b/configure.gnu
index 2ef8331..f98eb76 100755
--- a/configure.gnu
+++ b/configure.gnu
@@ -86,7 +86,7 @@ EOM
 		exit 1
 		;;
 	*)
-		opts="$opts $1"
+		opts="$opts '$1'"
 		shift
 		;;
 	esac
@@ -126,7 +126,7 @@ case "$verbose" in
 *) copt="$copt -d";;
 esac
 
-set X sh Configure $copt $create $opts
+eval "set X sh Configure $copt $create $opts"
 shift
 echo "$@"
 exec "$@"