x86_64cpuid.pl cosmetics: harmonize $dir treatment with other modules.
authorAndy Polyakov <appro@openssl.org>
Tue, 15 Jul 2008 19:52:20 +0000 (19:52 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 15 Jul 2008 19:52:20 +0000 (19:52 +0000)
crypto/x86_64cpuid.pl

index 331529a..e19ecdb 100644 (file)
@@ -100,8 +100,7 @@ OPENSSL_wipe_cpu:
 ___
 
 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
-$dir = "." if $dir eq "";
-open STDOUT,"| $^X $dir/perlasm/x86_64-xlate.pl $output";
+open STDOUT,"| $^X ${dir}perlasm/x86_64-xlate.pl $output";
 
 print<<___;
 .text