1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/tests/stunnel.pm

12 lines
251 B
Perl
Raw Normal View History

2001-04-24 17:09:53 -04:00
sub checkstunnel {
my @paths=("/usr/sbin", "/usr/local/sbin", "/sbin", "/usr/bin",
"/usr/local/bin", split(":", $ENV{'PATH'}));
2001-04-24 17:09:53 -04:00
for(@paths) {
if( -x "$_/stunnel") {
return "$_/stunnel";
}
}
}
1;