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:
2028c28
)
Check for the executable $openssl, not just the file.
author
Richard Levitte
<levitte@openssl.org>
Thu, 13 Jun 2002 19:59:26 +0000
(19:59 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 13 Jun 2002 19:59:26 +0000
(19:59 +0000)
Part of PR: 75
tools/c_rehash.in
patch
|
blob
|
history
diff --git
a/tools/c_rehash.in
b/tools/c_rehash.in
index 69da98ff2cf2e71e58b5f2b26624696a084c8e43..5b053406c2db48eebd18751ee525f35221a52ba5 100644
(file)
--- a/
tools/c_rehash.in
+++ b/
tools/c_rehash.in
@@
-17,10
+17,10
@@
if(defined $ENV{OPENSSL}) {
$ENV{PATH} .= ":$dir/bin";
-if(! -
f
$openssl) {
+if(! -
x
$openssl) {
my $found = 0;
foreach (split /:/, $ENV{PATH}) {
- if(-
f
"$_/$openssl") {
+ if(-
x
"$_/$openssl") {
$found = 1;
last;
}