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

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

parent 42edc3f9
......@@ -122,7 +122,7 @@ fetch_pkg () {
if which ${CURL} > /dev/null
${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
${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