diff options
author | Dmitry Yunitsky <yunik@mapswithme.com> | 2016-07-07 17:12:19 +0300 |
---|---|---|
committer | Dmitry Yunitsky <yunik@mapswithme.com> | 2016-07-07 17:12:47 +0300 |
commit | d2a098813572f20c71866efd994123276e057790 (patch) | |
tree | b98a50cd928b6bcbde157cab8617a6a7b515611b /tools | |
parent | 092198b2f529ac96754c030c7e806998eddaabfa (diff) |
[android] Fixed bash script wrongly exiting when QMAKE path is set through system variable.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/autobuild/detect_qmake.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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=( \ |