diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-04-13 02:06:18 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-08-31 01:42:25 +0300 |
commit | 01e643a7778138c709f29391f91c16e8f95ba681 (patch) | |
tree | 12dfa35a34195a634c27e795c855b488bd214879 | |
parent | c056f99855db587e2563883c690c55d73439039c (diff) |
scripts/ci/apt-install: fix (not ignore) shellcheck warning
It is ok to quote $@, as it expands to "$1" "$2" ...
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
-rwxr-xr-x | scripts/ci/apt-install | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/ci/apt-install b/scripts/ci/apt-install index 5a790901a..45aca13f4 100755 --- a/scripts/ci/apt-install +++ b/scripts/ci/apt-install @@ -15,8 +15,7 @@ while true; do if [ "${install_retry_counter}" -gt "${max_apt_retries}" ]; then exit 1 fi - # shellcheck disable=SC2068 - apt-get clean -qqy && apt-get update -qqy && apt-get install -qqy --no-install-recommends $@ && break + apt-get clean -qqy && apt-get update -qqy && apt-get install -qqy --no-install-recommends "$@" && break # In case it is a network error let's wait a bit. echo "Retrying attempt ${install_retry_counter}" |