diff options
author | eschnett <eschnett@9e23cc15-e5c8-4d65-9080-beda90ea645b> | 2011-11-10 16:13:46 +0000 |
---|---|---|
committer | eschnett <eschnett@9e23cc15-e5c8-4d65-9080-beda90ea645b> | 2011-11-10 16:13:46 +0000 |
commit | 1bcf65471384aecb96117d1d9983517120deeb8e (patch) | |
tree | 152896df05e9f06134ad070c0f5aa70ef424bdad | |
parent | 2ab7811ba1e2d08a45ec24c8cac5254e2965bad1 (diff) |
Accept GSL_DIR=BUILD case-independently
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/GSL/trunk@24 9e23cc15-e5c8-4d65-9080-beda90ea645b
-rw-r--r-- | GSL.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |