NS/releases/performance-3.0.5/source/curl/tests/stunnel.pm
2005-07-14 17:38:07 +00:00

11 lines
251 B
Perl

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