mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-13 18:34:16 +02:00
fix(shellcheck): quote literal { }
https://www.shellcheck.net/wiki/SC1083
This commit is contained in:
parent
c452b138d5
commit
b8c3f64c1c
2
quickget
2
quickget
|
@ -1307,7 +1307,7 @@ function web_redirect() {
|
|||
local URL="${1}"
|
||||
# Check for URL redirections
|
||||
# Output to nonexistent directory so the download fails fast
|
||||
REDIRECT_URL=$(curl --silent --location --fail --write-out %{url_effective} --output /var/cache/${RANDOM}/${RANDOM} "${URL}")
|
||||
REDIRECT_URL=$(curl --silent --location --fail --write-out '%{url_effective}' --output /var/cache/${RANDOM}/${RANDOM} "${URL}")
|
||||
if [ "${REDIRECT_URL}" != "${URL}" ]; then
|
||||
echo "${REDIRECT_URL}"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user