Compare commits

..

2 commits

Author SHA1 Message Date
b94f9727ad
Fix: use realpath of src_dir
All checks were successful
continuous-integration/drone/tag Build is passing
2022-08-02 23:47:27 +02:00
b5e6329f0f
Feat: allow to set the src dir 2022-08-02 23:46:05 +02:00

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=$(realpath "${PLUGIN_SRC_DIR}")
echo "**** environment: ****"
echo "* QMAKE_ARGUMENTS=${QMAKE_ARGUMENTS}"