Skip to content

Commit

Permalink
bootstrap.sh: fix tar reading from stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuncer Ayaz committed Feb 7, 2014
1 parent 1ac25db commit 11c5dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 11c5dd0

Please sign in to comment.