diff --git a/tools/autobuild/detect_qmake.sh b/tools/autobuild/detect_qmake.sh index 0245427087..b79e2add8f 100755 --- a/tools/autobuild/detect_qmake.sh +++ b/tools/autobuild/detect_qmake.sh @@ -2,7 +2,7 @@ set -e -u # If QMAKE variable is set, use it -[ -n "${QMAKE-}" -a -x "${QMAKE-}" ] && exit 0 +[ -n "${QMAKE-}" -a -x "${QMAKE-}" ] && return 0 # Add your path into this array KNOWN_QMAKE_PATHS=( \