From 6495eb45ff5ad70735e75461aaaf33c1850049a9 Mon Sep 17 00:00:00 2001 From: Mahyar McDonald Date: Mon, 3 Nov 2025 18:40:17 -0800 Subject: [PATCH] wow shell is bad --- lib.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib.sh b/lib.sh index a05bb50..e82a478 100755 --- a/lib.sh +++ b/lib.sh @@ -118,10 +118,13 @@ function get_normalized_package_list { local temp_file temp_file=$(mktemp) + if [ "${architecture}" == "arm64" ]; then - "${script_dir}/apt_query-arm64" normalized-list "${packages}" > "${temp_file}" 2>&1 + # shellcheck disable=SC2086 we rely on a list style input + "${script_dir}/apt_query-arm64" normalized-list ${packages} > "${temp_file}" 2>&1 else - "${script_dir}/apt_query-x86" normalized-list "${packages}" > "${temp_file}" 2>&1 + # shellcheck disable=SC2086 we rely on a list style input + "${script_dir}/apt_query-x86" normalized-list ${packages} > "${temp_file}" 2>&1 fi local exit_code=$?