aboutsummaryrefslogtreecommitdiff
path: root/OpenSSL.sh
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL.sh')
-rw-r--r--OpenSSL.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSSL.sh b/OpenSSL.sh
index b0a5fb9..7b90192 100644
--- a/OpenSSL.sh
+++ b/OpenSSL.sh
@@ -51,7 +51,9 @@ fi
# Build
################################################################################
-if [ -z "${OPENSSL_DIR}" -o "${OPENSSL_DIR}" = 'BUILD' ]; then
+if [ -z "${OPENSSL_DIR}" \
+ -o "$(echo "${OPENSSL_DIR}" | tr '[a-z]' '[A-Z]')" = 'BUILD' ]
+then
echo "BEGIN MESSAGE"
echo "Building OpenSSL..."
echo "END MESSAGE"