projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7f573f
)
PR: 2234
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 14 Apr 2010 23:07:12 +0000
(23:07 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 14 Apr 2010 23:07:12 +0000
(23:07 +0000)
Submitted By: Matthias Andree <matthias.andree@gmx.de>
Use correct path to openssl utility in c_rehash script.
tools/c_rehash.in
patch
|
blob
|
history
diff --git
a/tools/c_rehash.in
b/tools/c_rehash.in
index 6dd3c24fc1558c4959763a6ecd7d0e73cb51fada..bfc4a69ed4bcd8cb384a9bdc1d445bfcdd9b367c 100644
(file)
--- 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};
@@
-24,7
+25,7
@@
if (defined(&Cwd::getcwd)) {
}
my $path_delim = ($pwd =~ /^[a-z]\:/i) ? ';' : ':'; # DOS/Win32 or Unix delimiter?
-$ENV{PATH}
.= "$path_delim$dir/bin";
+$ENV{PATH}
= "$prefix/bin" . ($ENV{PATH} ? $path_delim . $ENV{PATH} : ""); # prefix our path
if(! -x $openssl) {
my $found = 0;