x86_64 assembly pack: tolerate spaces in source directory name.
[openssl.git] / crypto / x86_64cpuid.pl
index 4946688d922e9f2572d53f929840900897be457d..285ad1ba7dba7bfe3bbf620ff984e19615636166 100644 (file)
@@ -18,7 +18,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;
 
 ($arg1,$arg2,$arg3,$arg4)=$win64?("%rcx","%rdx","%r8", "%r9") :        # Win64 order