Updates to reformat script.
[openssl.git] / util / opensslwrap.sh
index 6f9f7ff5948db4bd0f6955d482408c0a530d399a..b27cbb897fd49ff1bab0e71c89321c5ff2ca51d7 100755 (executable)
@@ -3,7 +3,7 @@
 HERE="`echo $0 | sed -e 's|[^/]*$||'`"
 OPENSSL="${HERE}../apps/openssl"
 
-if [ -d "${HERE}../engines" ]; then
+if [ -d "${HERE}../engines" -a "x$OPENSSL_ENGINES" = "x" ]; then
        OPENSSL_ENGINES="${HERE}../engines"; export OPENSSL_ENGINES
 fi