From 077eec64eefcea2e2387279044ae5bd5e49aa0d2 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Thu, 15 Sep 2022 14:49:13 +0200 Subject: [PATCH] fix(rebuild): shellcheck warnings --- rebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rebuild.sh b/rebuild.sh index 350ebb6..d2f5dea 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -1,8 +1,8 @@ #!/bin/sh updates_available () { - docker pull $1 - if test "$(docker run -it --rm $1 /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then + docker pull "$1" + if test "$(docker run -it --rm "$1" /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then return 0 else return 1