svn path=/nixpkgs/branches/stdenv-updates/; revision=31726
This commit is contained in:
Eelco Dolstra 2012-01-19 22:18:34 +00:00
parent 84c0185038
commit b27b5dfd75

View file

@ -432,7 +432,7 @@ unpackFile() {
case "$curSrc" in
*.tar.xz | *.tar.lzma)
# Don't rely on tar knowing about .xz.
xz -d < $curSrc | tar xv -
xz -d < $curSrc | tar xvf -
;;
*.tar | *.tar.* | *.tgz | *.tbz2)
# GNU tar can automatically select the decompression method