From b8c3f64c1c44d100127b84db3b2ec91c2ebf2398 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 6 May 2024 22:39:56 +0100 Subject: [PATCH] fix(shellcheck): quote literal { } https://www.shellcheck.net/wiki/SC1083 --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 769a84c..c40b8db 100755 --- a/quickget +++ b/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