curl/tests/stunnel.pm

12 lines
225 B
Perl
Raw Normal View History

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