File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ if [[ $BITCOIN_CONFIG = *--with-sanitizers=*address* ]]; then # If ran with (ASa
2424fi
2525
2626export P_CI_DIR=" $PWD "
27+ export BINS_SCRATCH_DIR=" ${BASE_SCRATCH_DIR} /bins/"
2728
2829if [ -z " $DANGER_RUN_CI_ON_HOST " ]; then
2930 echo " Creating $DOCKER_NAME_TAG container to run in"
6465fi
6566
6667CI_EXEC () {
67- $DOCKER_CI_CMD_PREFIX bash -c " export PATH=$BASE_SCRATCH_DIR /bins/ :\$ PATH && cd \" $P_CI_DIR \" && $* "
68+ $DOCKER_CI_CMD_PREFIX bash -c " export PATH=${BINS_SCRATCH_DIR} :\$ PATH && cd \" $P_CI_DIR \" && $* "
6869}
6970CI_EXEC_ROOT () {
70- $DOCKER_CI_CMD_PREFIX_ROOT bash -c " export PATH=$BASE_SCRATCH_DIR /bins/ :\$ PATH && cd \" $P_CI_DIR \" && $* "
71+ $DOCKER_CI_CMD_PREFIX_ROOT bash -c " export PATH=${BINS_SCRATCH_DIR} :\$ PATH && cd \" $P_CI_DIR \" && $* "
7172}
7273export -f CI_EXEC
7374export -f CI_EXEC_ROOT
7475
76+ CI_EXEC mkdir -p " ${BINS_SCRATCH_DIR} "
77+
7578if [ -n " $DPKG_ADD_ARCH " ]; then
7679 CI_EXEC_ROOT dpkg --add-architecture " $DPKG_ADD_ARCH "
7780fi
155158
156159if [ " $USE_BUSY_BOX " = " true" ]; then
157160 echo " Setup to use BusyBox utils"
158- CI_EXEC mkdir -p " ${BASE_SCRATCH_DIR} /bins/"
159161 # tar excluded for now because it requires passing in the exact archive type in ./depends (fixed in later BusyBox version)
160162 # find excluded for now because it does not recognize the -delete option in ./depends (fixed in later BusyBox version)
161163 # ar excluded for now because it does not recognize the -q option in ./depends (unknown if fixed)
162164 # shellcheck disable=SC1010
163- CI_EXEC for util in \$\( busybox --list \| grep -v " ^ar$" \| grep -v " ^tar$" \| grep -v " ^find$" \)\; do ln -s \$\( command -v busybox\) " ${BASE_SCRATCH_DIR} /bins /\$ util" \; done
165+ CI_EXEC for util in \$\( busybox --list \| grep -v " ^ar$" \| grep -v " ^tar$" \| grep -v " ^find$" \)\; do ln -s \$\( command -v busybox\) " ${BINS_SCRATCH_DIR} /\$ util" \; done
164166 # Print BusyBox version
165167 CI_EXEC patch --help
166168fi
You can’t perform that action at this time.
0 commit comments