Permalink
Browse files

Small 'bootstrap.sh' fix.

  • Loading branch information...
1 parent 368a736 commit 973723f6c6f94316e80e1c69ac3c1528de40fcb1 @23Skidoo 23Skidoo committed Feb 7, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 cabal-install/bootstrap.sh
@@ -22,7 +22,7 @@ WGET="${WGET:-wget}"
CURL="${CURL:-curl}"
FETCH="${FETCH:-fetch}"
TAR="${TAR:-tar}"
-GZIP="${GUNZIP:-gzip}"
+GZIP="${GZIP:-gzip}"
SCOPE_OF_INSTALLATION="--user"
DEFAULT_PREFIX="${HOME}/.cabal"
@@ -187,7 +187,7 @@ unpack_pkg () {
VER=$2
rm -rf "${PKG}-${VER}.tar" "${PKG}-${VER}"
- gzip -d < "${PKG}-${VER}.tar.gz" | ${TAR} -x -
+ ${GZIP} -d < "${PKG}-${VER}.tar.gz" | ${TAR} -x -
[ -d "${PKG}-${VER}" ] || die "Failed to unpack ${PKG}-${VER}.tar.gz"
}

0 comments on commit 973723f

Please sign in to comment.