Skip to content

Commit f703c79

Browse files
author
MarcoFalke
committed
Merge bitcoin/bitcoin#26961: ci: Fix APPEND_APT_SOURCES_LIST trying to modify the host system
fa88d42 ci: Fix APPEND_APT_SOURCES_LIST trying to modify the host system (MarcoFalke) Pull request description: `>>` will be redirected to the host system, unless the CI system is already running in docker. This shouldn't lead to any issues, unless someone is running the CI as root, I guess. Still, fix it to avoid problems. ACKs for top commit: fanquake: ACK fa88d42 Tree-SHA512: 6c501fd69a62e3cea27d24647e1a02f0f63dad45737dbfed23e3f70d89aacfbe477c71ca8812a47ab4641a31288df5919512542d5d8b49fc57dc3ef2aa0cde33
2 parents 50ac8f5 + fa88d42 commit f703c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/test/04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ elif [ "$CI_USE_APT_INSTALL" != "no" ]; then
9393
CI_EXEC_ROOT add-apt-repository ppa:hadret/bpfcc
9494
fi
9595
if [[ -n "${APPEND_APT_SOURCES_LIST}" ]]; then
96-
CI_EXEC_ROOT echo "${APPEND_APT_SOURCES_LIST}" >> /etc/apt/sources.list
96+
CI_EXEC_ROOT echo "${APPEND_APT_SOURCES_LIST}" \>\> /etc/apt/sources.list
9797
fi
9898
${CI_RETRY_EXE} CI_EXEC_ROOT apt-get update
9999
${CI_RETRY_EXE} CI_EXEC_ROOT apt-get install --no-install-recommends --no-upgrade -y "$PACKAGES" "$CI_BASE_PACKAGES"

0 commit comments

Comments
 (0)