diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-02-25 13:14:06 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-02-25 13:14:06 +0000 |
commit | a9e96d724d1725bb06cab018dd87d0d59db942a0 (patch) | |
tree | 9086ff1415f8bfa568ee28bafa6bcaf3f75a8f1a /crypto/x86_64cpuid.pl | |
parent | d9e427f09c210de398155260bd57e7fa0a3208aa (diff) |
Use default value for $dir if it is empty.
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r-- | crypto/x86_64cpuid.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl index 18a2867036..331529ae59 100644 --- a/crypto/x86_64cpuid.pl +++ b/crypto/x86_64cpuid.pl @@ -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<<___; |