Find openssl utility if on the PATH.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 16:50:42 +0000 (16:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 16:50:42 +0000 (16:50 +0000)
tools/c_rehash.in

index 96a73aeedd835c220d41053322770e8ec2b05b3f..6dd3c24fc1558c4959763a6ecd7d0e73cb51fada 100644 (file)
@@ -31,6 +31,7 @@ if(! -x $openssl) {
        foreach (split /$path_delim/, $ENV{PATH}) {
                if(-x "$_/$openssl") {
                        $found = 1;
+                       $openssl = "$_/$openssl";
                        last;
                }       
        }