summaryrefslogtreecommitdiffstats
path: root/ci/installation_scripts/clean_up_rpi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/installation_scripts/clean_up_rpi.sh')
-rwxr-xr-xci/installation_scripts/clean_up_rpi.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/installation_scripts/clean_up_rpi.sh b/ci/installation_scripts/clean_up_rpi.sh
index f82cf74a..eb250591 100755
--- a/ci/installation_scripts/clean_up_rpi.sh
+++ b/ci/installation_scripts/clean_up_rpi.sh
@@ -7,8 +7,9 @@ sudo tedge disconnect az
sudo systemctl stop apama
# Load the release package list as $RELEASE_PACKAGES
+# shellcheck disable=SC1091
source ./ci/package_list.sh
# Purge packages
-sudo apt --assume-yes purge $(echo "${RELEASE_PACKAGES[*]}")
-sudo DEBIAN_FRONTEND=noninteractive apt --assume-yes purge $(echo "${EXTERNAL_ARM_PACKAGES[*]}")
+sudo apt --assume-yes purge "${RELEASE_PACKAGES[*]}"
+sudo DEBIAN_FRONTEND=noninteractive apt --assume-yes purge "${EXTERNAL_ARM_PACKAGES[*]}"