Fix from stable branch.
[openssl.git] / crypto / x86_64cpuid.pl
index 18a2867036a0b61f89515803e5a954a90f3c6173..331529ae592ea3a41a0053aaf3027f2c2a65aebf 100644 (file)
@@ -100,6 +100,7 @@ OPENSSL_wipe_cpu:
 ___
 
 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+$dir = "." if $dir eq "";
 open STDOUT,"| $^X $dir/perlasm/x86_64-xlate.pl $output";
 
 print<<___;