diff options
author | Richard Levitte <levitte@openssl.org> | 2016-05-25 11:57:23 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-05-27 17:41:32 +0200 |
commit | a3a08f81256f4e9156e384c224adcc8e0519577b (patch) | |
tree | 38dafcf476eb5b061ae4d69c6c8af5f7553964fd /Configure | |
parent | cbece22079a61e57d17858174ee57e7dffa9e4dd (diff) |
Configure: handle spaces in source directory spec
RT#4486
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -210,7 +210,7 @@ die "erroneous version information in opensslv.h: ", # Collect target configurations my $pattern = catfile(dirname($0), "Configurations", "*.conf"); -foreach (sort glob($pattern) ) { +foreach (sort glob("\"$pattern\"") ) { &read_config($_); } @@ -2332,7 +2332,7 @@ sub run_dofile foreach (@templates) { die "Can't open $_, $!" unless -f $_; } - my $cmd = "$config{perl} \"-I.\" \"-Mconfigdata\" $dofile -o\"Configure\" \"".join("\" \"",@templates)."\" > \"$out.new\""; + my $cmd = "$config{perl} \"-I.\" \"-Mconfigdata\" \"$dofile\" -o\"Configure\" \"".join("\" \"",@templates)."\" > \"$out.new\""; #print STDERR "DEBUG[run_dofile]: \$cmd = $cmd\n"; system($cmd); exit 1 if $? != 0; |