x86_64 assembly pack: tolerate spaces in source directory name.
[openssl.git] / crypto / aes / asm / bsaes-x86_64.pl
index 73d1b2e63e308c0e02a3ed48f3dba4644239c44e..6b14a517dc58a96ee2ceda27f08dc66f44fa1b9c 100644 (file)
@@ -106,7 +106,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;
 
 my ($inp,$out,$len,$key,$ivp)=("%rdi","%rsi","%rdx","%rcx");