Skip to content

Commit fa88d42

Browse files
author
MarcoFalke
committed
ci: Fix APPEND_APT_SOURCES_LIST trying to modify the host system
1 parent 30f553d commit fa88d42

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)