diff options
Diffstat (limited to 'libjpeg.sh')
-rwxr-xr-x | libjpeg.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,7 +14,9 @@ set -e # Abort on errors # Build ################################################################################ -if [ -z "${LIBJPEG_DIR}" -o "${LIBJPEG_DIR}" = 'BUILD' ]; then +if [ -z "${LIBJPEG_DIR}" \ + -o "$(echo "${LIBJPEG_DIR}" | tr '[a-z]' '[A-Z]')" = 'BUILD' ] +then echo "BEGIN MESSAGE" echo "Building libjpeg..." echo "END MESSAGE" |