aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <[email protected]>2020-04-28 10:07:25 +0300
committerHennadii Stepanov <[email protected]>2020-04-28 10:52:31 +0300
commit45615de26caa4c8ffeacc558143aaf6887cbb314 (patch)
tree836be39d6ea6459009c3a6efb2b83b829ca4aa0c
parentMerge #18778: ci: Run functional tests on mac again (diff)
downloaddiscoin-45615de26caa4c8ffeacc558143aaf6887cbb314.tar.xz
discoin-45615de26caa4c8ffeacc558143aaf6887cbb314.zip
ci: Fix default retry script usage
-rwxr-xr-xci/test/00_setup_env.sh2
-rwxr-xr-xci/test/04_install.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/ci/test/00_setup_env.sh b/ci/test/00_setup_env.sh
index e0e555bbd..ef6d616e5 100755
--- a/ci/test/00_setup_env.sh
+++ b/ci/test/00_setup_env.sh
@@ -57,4 +57,4 @@ export DOCKER_PACKAGES=${DOCKER_PACKAGES:-build-essential libtool autotools-dev
export GOAL=${GOAL:-install}
export DIR_QA_ASSETS=${DIR_QA_ASSETS:-${BASE_SCRATCH_DIR}/qa-assets}
export PATH=${BASE_ROOT_DIR}/ci/retry:$PATH
-export CI_RETRY_EXE=${CI_RETRY_EXE:retry}
+export CI_RETRY_EXE=${CI_RETRY_EXE:-"retry --"}
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh
index 32eaaf15b..d672b87e8 100755
--- a/ci/test/04_install.sh
+++ b/ci/test/04_install.sh
@@ -58,6 +58,7 @@ else
bash -c "export PATH=$BASE_SCRATCH_DIR/bins/:\$PATH && cd $P_CI_DIR && $*"
}
fi
+export -f DOCKER_EXEC
if [ -n "$DPKG_ADD_ARCH" ]; then
DOCKER_EXEC dpkg --add-architecture "$DPKG_ADD_ARCH"