From f9ab6255e70894fd707c4ecedba7a3995ec62932 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 20 May 2010 17:36:24 +0000 Subject: [PATCH] oops, typo --- Configure | 4 ++-- test/cms-test.pl | 1 + tools/c_rehash.in | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Configure b/Configure index 32e154bfe1..e94f7f068b 100755 --- a/Configure +++ b/Configure @@ -1812,11 +1812,11 @@ EOF (system $make_command.$make_targets) == 0 or exit $? if $make_targets ne ""; if ( $perl =~ m@^/@) { - &dofile("tools/c_rehash",$perl,'^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";'); + &dofile("tools/c_rehash",$perl,'^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";', '^my \$prefix;$', 'my $prefix = "' . $prefix . '";'); &dofile("apps/CA.pl",$perl,'^#!/', '#!%s'); } else { # No path for Perl known ... - &dofile("tools/c_rehash",'/usr/local/bin/perl','^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";'); + &dofile("tools/c_rehash",'/usr/local/bin/perl','^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";', '^my \$prefix;$', 'my $prefix = "' . $prefix . '";'); &dofile("apps/CA.pl",'/usr/local/bin/perl','^#!/', '#!%s'); } if ($depflags ne $default_depflags && !$make_depend) { diff --git a/test/cms-test.pl b/test/cms-test.pl index e5122bfb19..9c50dff3e9 100644 --- a/test/cms-test.pl +++ b/test/cms-test.pl @@ -58,6 +58,7 @@ my $redir = " 2>cms.err 1>cms.out"; # Make MSYS work if ( $^O eq "MSWin32" && -f "../apps/openssl.exe" ) { $ossl_path = "cmd /c ..\\apps\\openssl"; +} elsif ( -f "../apps/openssl$ENV{EXE_EXT}" ) { $ossl_path = "../util/shlib_wrap.sh ../apps/openssl"; } diff --git a/tools/c_rehash.in b/tools/c_rehash.in index 4497cbd9f1..8b6d3f5647 100644 --- a/tools/c_rehash.in +++ b/tools/c_rehash.in @@ -7,6 +7,7 @@ my $openssl; my $dir; +my $prefix; if(defined $ENV{OPENSSL}) { $openssl = $ENV{OPENSSL}; -- 2.25.1