提交 a3a08f81 编写于 作者: R Richard Levitte

Configure: handle spaces in source directory spec

RT#4486
Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 cbece220
...@@ -210,7 +210,7 @@ die "erroneous version information in opensslv.h: ", ...@@ -210,7 +210,7 @@ die "erroneous version information in opensslv.h: ",
# Collect target configurations # Collect target configurations
my $pattern = catfile(dirname($0), "Configurations", "*.conf"); my $pattern = catfile(dirname($0), "Configurations", "*.conf");
foreach (sort glob($pattern) ) { foreach (sort glob("\"$pattern\"") ) {
&read_config($_); &read_config($_);
} }
...@@ -2332,7 +2332,7 @@ sub run_dofile ...@@ -2332,7 +2332,7 @@ sub run_dofile
foreach (@templates) { foreach (@templates) {
die "Can't open $_, $!" unless -f $_; 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"; #print STDERR "DEBUG[run_dofile]: \$cmd = $cmd\n";
system($cmd); system($cmd);
exit 1 if $? != 0; exit 1 if $? != 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册