From a9e96d724d1725bb06cab018dd87d0d59db942a0 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 25 Feb 2008 13:14:06 +0000 Subject: Use default value for $dir if it is empty. --- crypto/x86_64cpuid.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/x86_64cpuid.pl') 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<<___; -- cgit v1.2.3