Skip to content
Snippets Groups Projects
Commit 536ccfdf authored by Simon McVittie's avatar Simon McVittie
Browse files

ci: Share extra apt sources variable with common pipeline

parent d0799594
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,8 @@ build:scout:
cp "${SCOUT_APT_SOURCES_FILE}" /etc/apt/sources.list
echo >> /etc/apt/sources.list
if [ -n "${CI_EXTRA_APT_SOURCES-}" ]; then
echo "${CI_EXTRA_APT_SOURCES}" | while read -r first rest; do
if [ -n "${STEAM_CI_EXTRA_APT_SOURCES-}" ]; then
echo "${STEAM_CI_EXTRA_APT_SOURCES}" | while read -r first rest; do
if [ "x$first" = xboth ]; then
echo "deb $rest" >> /etc/apt/sources.list
echo "deb-src $rest" >> /etc/apt/sources.list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment