diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-02-03 22:15:33 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-02-03 22:15:33 +0000 |
commit | 10026bb62ebb7ecdfcfcc5bf7538361212ec8df2 (patch) | |
tree | 5af4fc6f259f2e1175d8c9d89535c79797353ad2 /tests | |
parent | 21c16f923c0618cf35fdc71921b3544f8ea04eca (diff) |
scan through the PATH as well, to find stunnel
Diffstat (limited to 'tests')
-rw-r--r-- | tests/stunnel.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stunnel.pm b/tests/stunnel.pm index d1b9d9fd9..991fe1e1a 100644 --- a/tests/stunnel.pm +++ b/tests/stunnel.pm @@ -1,6 +1,6 @@ sub checkstunnel { my @paths=("/usr/sbin", "/usr/local/sbin", "/sbin", "/usr/bin", - "/usr/local/bin"); + "/usr/local/bin", split(":", $ENV{'PATH'})); for(@paths) { if( -x "$_/stunnel") { return "$_/stunnel"; |