Feat: allow to set the src dir

This commit is contained in:
Dorian Zedler 2022-08-02 23:46:05 +02:00
parent 448535608f
commit b5e6329f0f
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -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}"