fix(shellcheck): quote to prevent word splitting
https://www.shellcheck.net/wiki/SC2046
This commit is contained in:
parent
9b72928e36
commit
f95e0e14cc
4
quickget
4
quickget
|
@ -1291,7 +1291,7 @@ function web_get() {
|
|||
fi
|
||||
|
||||
if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then
|
||||
echo Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION:+ $EDITION}
|
||||
echo "Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION}"
|
||||
echo "- URL: ${URL}"
|
||||
fi
|
||||
|
||||
|
@ -1356,7 +1356,7 @@ function zsync_get() {
|
|||
echo "ERROR! Unable to create directory ${DIR}"
|
||||
exit 1
|
||||
fi
|
||||
echo -e Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION+ ${EDITION}} from ${URL}'\n'
|
||||
echo "Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION} from ${URL}"
|
||||
# Only force http for zsync - not earlier because we might fall through here
|
||||
if ! zsync "${URL/https/http}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then
|
||||
echo "ERROR! Failed to download ${URL/https/http}.zsync"
|
||||
|
|
Loading…
Reference in New Issue