diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index c1006f08..1c95d401 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -9,7 +9,11 @@ # set -e -cd $WORKSPACE +SCRIPT_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]})) + +export ARMBAND_BASE=$(readlink -e ${SCRIPT_DIR}/..) + +cd ${WORKSPACE:-${ARMBAND_BASE}} make patches-import # source local environment variables |