x86_64 assembly pack: tolerate spaces in source directory name.
[openssl.git] / crypto / bn / asm / x86_64-mont.pl
index d44cfae2663c16355c8706c892d49b7d63b01b3e..3a2511f7f2872485154e546e907d2ce148e2284b 100755 (executable)
@@ -57,7 +57,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`