Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-04-13 02:06:18 +0300
committerAndrei Vagin <avagin@gmail.com>2022-08-31 01:42:25 +0300
commit01e643a7778138c709f29391f91c16e8f95ba681 (patch)
tree12dfa35a34195a634c27e795c855b488bd214879
parentc056f99855db587e2563883c690c55d73439039c (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-xscripts/ci/apt-install3
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}"