diff --git a/build.sh b/build.sh index 1dc8f5aa2..e9a8d0f33 100755 --- a/build.sh +++ b/build.sh @@ -245,7 +245,8 @@ else # New build if [[ "$build_n" == "n" || "$build_n" == "N" ]] ; then read -p "Select build type [RELEASE/debug]? " - if [[ "${REPLY,,}" == "debug" ]] ; then + REPLY=$(echo $REPLY | tr '[:upper:]' '[:lower:]') + if [[ "${REPLY}" == "debug" ]] ; then build_type=Debug new_build_name=aseprite-debug else