X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=tools%2Fc_rehash;h=cd4e26a49be393ee2826ac3827ebe7c99062c4fa;hb=78414a6a897db42c9bcf06aa21c705811ab33921;hp=007600152c5a78a5476f75bdb2bd1c7ae8b12061;hpb=d02b48c63a58ea4367a0e905979f140b7d090f86;p=openssl.git diff --git a/tools/c_rehash b/tools/c_rehash index 007600152c..cd4e26a49b 100644 --- a/tools/c_rehash +++ b/tools/c_rehash @@ -4,12 +4,12 @@ # on the command line. # -if [ "$SSLEAY"x = "x" ]; then +if [ "$SSLEAY"x = "x" -o ! -x $SSLEAY ]; then SSLEAY='ssleay' export SSLEAY fi DIR=/usr/local/ssl -#PATH=$DIR/bin:$PATH +PATH=$DIR/bin:$PATH SSL_DIR=$DIR/certs