Browse Source

fix: [gogocarto] allow to follow redirection when downloading release

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
backup
Valentin Lab 4 years ago
parent
commit
995af651a4
  1. 2
      gogocarto/lib/common

2
gogocarto/lib/common

@ -32,7 +32,7 @@ gogocarto:init() {
err "Can't find the '.git' directory in ${GOGOCARTO_CODE}." err "Can't find the '.git' directory in ${GOGOCARTO_CODE}."
return 1 return 1
fi fi
curl "$GOGOCARTO_URL" | tar xjv || {
curl -L "$GOGOCARTO_URL" | tar xjv || {
err "Couldn't download $GOGOCARTO_URL." err "Couldn't download $GOGOCARTO_URL."
return 1 return 1
} }

Loading…
Cancel
Save