mirror of
https://github.com/Unimatrix0/update_ombi.git
synced 2025-08-19 21:04:04 -07:00
Quote this to prevent word splitting
https://github.com/koalaman/shellcheck/wiki/SC2046
This commit is contained in:
parent
1015fe5184
commit
55b9f6c399
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue