diff --git a/cabal-install/bootstrap.sh b/cabal-install/bootstrap.sh index e0b91f1f1ef278b84f3a3bba664aa7eae9f58e01..8a8a09bafc33293d5c2765c1090fb2983a79492a 100755 --- a/cabal-install/bootstrap.sh +++ b/cabal-install/bootstrap.sh @@ -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}."