mirror of
https://github.com/curl/curl.git
synced 2026-04-20 12:31:13 +03:00
scan through the PATH as well, to find stunnel
This commit is contained in:
parent
21c16f923c
commit
10026bb62e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue