x86_64 assembly pack: tolerate spaces in source directory name.
[openssl.git] / crypto / bn / asm / x86_64-mont5.pl
index 7a7a2e6685ad15526464b67bee238d05e9920475..2a7972d61086c87515a30a4bd6b19f51d8ce5534 100755 (executable)
@@ -42,7 +42,7 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or
 die "can't locate x86_64-xlate.pl";
 
-open OUT,"| \"$^X\" $xlate $flavour $output";
+open OUT,"| \"$^X\" \"$xlate\" $flavour \"$output\"";
 *STDOUT=*OUT;
 
 if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1`