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
24
24
fi
25
25
26
26
export P_CI_DIR=" $PWD "
27
+ export BINS_SCRATCH_DIR=" ${BASE_SCRATCH_DIR} /bins/"
27
28
28
29
if [ -z " $DANGER_RUN_CI_ON_HOST " ]; then
29
30
echo " Creating $DOCKER_NAME_TAG container to run in"
64
65
fi
65
66
66
67
CI_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 \" && $* "
68
69
}
69
70
CI_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 \" && $* "
71
72
}
72
73
export -f CI_EXEC
73
74
export -f CI_EXEC_ROOT
74
75
76
+ CI_EXEC mkdir -p " ${BINS_SCRATCH_DIR} "
77
+
75
78
if [ -n " $DPKG_ADD_ARCH " ]; then
76
79
CI_EXEC_ROOT dpkg --add-architecture " $DPKG_ADD_ARCH "
77
80
fi
155
158
156
159
if [ " $USE_BUSY_BOX " = " true" ]; then
157
160
echo " Setup to use BusyBox utils"
158
- CI_EXEC mkdir -p " ${BASE_SCRATCH_DIR} /bins/"
159
161
# tar excluded for now because it requires passing in the exact archive type in ./depends (fixed in later BusyBox version)
160
162
# find excluded for now because it does not recognize the -delete option in ./depends (fixed in later BusyBox version)
161
163
# ar excluded for now because it does not recognize the -q option in ./depends (unknown if fixed)
162
164
# 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
164
166
# Print BusyBox version
165
167
CI_EXEC patch --help
166
168
fi
You can’t perform that action at this time.
0 commit comments