From d2a098813572f20c71866efd994123276e057790 Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Thu, 7 Jul 2016 17:12:19 +0300 Subject: [PATCH] [android] Fixed bash script wrongly exiting when QMAKE path is set through system variable. --- tools/autobuild/detect_qmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=( \