From 55b9f6c399239814f402785f58bd97c8081b7e83 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Wed, 28 Feb 2018 10:37:57 -0600 Subject: [PATCH] Quote this to prevent word splitting https://github.com/koalaman/shellcheck/wiki/SC2046 --- update_ombi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_ombi.sh b/update_ombi.sh index 3b83aee..8c51bd3 100644 --- a/update_ombi.sh +++ b/update_ombi.sh @@ -215,7 +215,7 @@ tempdir=$(mktemp -d) file="$tempdir/ombi_$version.tar.gz" wget --quiet --show-progress -O $file "https://ci.appveyor.com/api/buildjobs/$jobId/artifacts/linux.tar.gz" .log 6 "Version $version downloaded...checking file size..." -if [ $(wc -c < $file) != $size ]; then +if [ "$(wc -c < $file)" != $size ]; then .log 3 "Downloaded file size does not match expected file size...bailing!" exit 2 fi