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