summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-04-22 16:50:42 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-04-22 16:50:42 +0000
commit1b08bcbfe3dbc98b7d1ef2191e3c44211d0c79e0 (patch)
treef860712a269787a1909c618d7c59a3ec984fd653 /tools
parent346b1001eb239a122e955ece3a44ad38c4a78898 (diff)
downloadopenssl-1b08bcbfe3dbc98b7d1ef2191e3c44211d0c79e0.tar.gz
Find openssl utility if on the PATH.
Diffstat (limited to 'tools')
-rw-r--r--tools/c_rehash.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in
index 96a73aeedd..6dd3c24fc1 100644
--- a/tools/c_rehash.in
+++ b/tools/c_rehash.in
@@ -31,6 +31,7 @@ if(! -x $openssl) {
foreach (split /$path_delim/, $ENV{PATH}) {
if(-x "$_/$openssl") {
$found = 1;
+ $openssl = "$_/$openssl";
last;
}
}