From b35acbdb0b1c9d3ec9dc231723ccafb2fc67f6f5 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 6 Aug 2022 20:59:07 +0100 Subject: [PATCH] apt install: missing word splitting --- src/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/run.sh b/src/run.sh index 188f078..b6ba07d 100755 --- a/src/run.sh +++ b/src/run.sh @@ -246,7 +246,9 @@ stage_end "$?" "1 or more pre-install tasks failed"; step_current="3"; stage_begin "Installing apt packages"; -apt-get install --no-install-recommends --yes "$(cat "${temp_dir}/apt-packages.txt")"; +# We *want* word splitting here +#shellcheck disable=SC2046 +apt-get install --no-install-recommends --yes $(cat "${temp_dir}/apt-packages.txt"); stage_end "$?" "Failed to install apt packages"; ###############################################################################