Permalink
Browse files

'bootstrap.sh': disable curl's resume feature for now.

Hackage 2 doesn't support byte ranges at the moment, which makes curl exit with
error if there's an incomplete tarball present. Fixes #1675.
  • Loading branch information...
1 parent b0e5952 commit dc1937549aac902382c316f4d24fb3dd5ab8b9b5 @23Skidoo 23Skidoo committed Feb 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 cabal-install/bootstrap.sh
@@ -168,7 +168,7 @@ fetch_pkg () {
URL=${HACKAGE_URL}/${PKG}-${VER}/${PKG}-${VER}.tar.gz
if which ${CURL} > /dev/null
then
- ${CURL} -L --fail -C - -O ${URL} || die "Failed to download ${PKG}."
+ ${CURL} -L --fail -O ${URL} || die "Failed to download ${PKG}."
elif which ${WGET} > /dev/null
then
${WGET} -c ${URL} || die "Failed to download ${PKG}."

0 comments on commit dc19375

Please sign in to comment.