Commit d071907c authored by Mike Craig's avatar Mike Craig
Browse files

Add -L flag to `curl` usage in cabal-install/bootstrap.sh for redirects

parent 42edc3f9
......@@ -122,7 +122,7 @@ fetch_pkg () {
URL=${HACKAGE_URL}/${PKG}/${VER}/${PKG}-${VER}.tar.gz
if which ${CURL} > /dev/null
then
${CURL} --fail -C - -O ${URL} || die "Failed to download ${PKG}."
${CURL} -L --fail -C - -O ${URL} || die "Failed to download ${PKG}."
elif which ${WGET} > /dev/null
then
${WGET} -c ${URL} || die "Failed to download ${PKG}."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment