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