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 331529ae592ea3a41a0053aaf3027f2c2a65aebf..e19ecdbbfc8fc6da68d47a9d5b1004b3ecb9c6cc 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