Use default value for $dir if it is empty.

This commit is contained in:
Dr. Stephen Henson 2008-02-25 13:14:06 +00:00
parent d9e427f09c
commit a9e96d724d

View 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<<___;