mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
scan through the PATH as well, to find stunnel
This commit is contained in:
parent
21c16f923c
commit
10026bb62e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user