Commit 809ba758 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #1521 from mkscrg/master

Fix `cabal-install/bootstrap.sh` for the new Hackage server
parents 42edc3f9 d071907c
......@@ -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