[ID 20000804.002] configure.gnu and arguments with whitespace characters
Raymund Will [Fri, 4 Aug 2000 12:07:09 +0000 (14:07 +0200)]
Message-Id: <20000804120709.A14982@caldera.de>

p4raw-id: //depot/perl@6521

configure.gnu

index 2ef8331..f98eb76 100755 (executable)
@@ -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 "$@"