From b5e6329f0fd5d4b36d7ffc7f42d8d47321cf347a Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Tue, 2 Aug 2022 23:46:05 +0200 Subject: [PATCH] Feat: allow to set the src dir --- qt-build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qt-build b/qt-build index 6506fbe..c88757e 100755 --- a/qt-build +++ b/qt-build @@ -3,8 +3,7 @@ set -e [[ -z "${PLUGIN_QMAKE_ARGUMENTS}" ]] && QMAKE_ARGUMENTS=$1 || QMAKE_ARGUMENTS="${PLUGIN_QMAKE_ARGUMENTS}" [[ -z "${PLUGIN_ANDROIDDEPLOYQT_ARGUMENTS}" ]] && ANDROIDDEPLOYQT_ARGUMENTS=$2 || ANDROIDDEPLOYQT_ARGUMENTS="${PLUGIN_ANDROIDDEPLOYQT_ARGUMENTS}" - -SRC_DIR=$(pwd) +[[ -z "${PLUGIN_SRC_DIR}" ]] && SRC_DIR=$(pwd) || SRC_DIR="${PLUGIN_SRC_DIR}" echo "**** environment: ****" echo "* QMAKE_ARGUMENTS=${QMAKE_ARGUMENTS}"