summaryrefslogtreecommitdiff
path: root/Build/source/libs/curl/tests/stunnel.pm
blob: d1b9d9fd9bf9e591ca74186a6475f32177c60e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
sub checkstunnel {
    my @paths=("/usr/sbin", "/usr/local/sbin", "/sbin", "/usr/bin",
               "/usr/local/bin");
    for(@paths) {
        if( -x "$_/stunnel") {
            return "$_/stunnel";
        }
    }
}

1;