PR: 1782
authorDr. Stephen Henson <steve@openssl.org>
Tue, 11 Nov 2008 10:17:22 +0000 (10:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 11 Nov 2008 10:17:22 +0000 (10:17 +0000)
Submitted by: Philip Prindeville <philipp_subx@redfish-solutions.com>
Approved by: steve@openssl.org

Configure

index 6278216da94487d7f714b18afc1ef87954e5bab5..c8791f6797aededa4d649f59d05d470d95d089f2 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1048,7 +1048,7 @@ $perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl")
   or $perl="perl";
 
 chop $openssldir if $openssldir =~ /\/$/;
-chop $prefix if $prefix =~ /\/$/;
+chop $prefix if $prefix =~ /.\/$/;
 
 $openssldir=$prefix . "/ssl" if $openssldir eq "";
 $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/;