3
0
Fork 0
forked from mirrors/nixpkgs

stdenv/setup.sh: unbreak *.lz sources on darwin

This commit is contained in:
Vladimír Čunát 2014-08-30 13:28:44 +02:00
parent 01c0be6ece
commit fcafdd2761

View file

@ -450,6 +450,10 @@ unpackFile() {
# Don't rely on tar knowing about .xz.
xz -d < $curSrc | tar xf -
;;
*.tar.lz )
# Don't rely on tar knowing about .lz.
lzip -d < $curSrc | tar xf -
;;
*.tar | *.tar.* | *.tgz | *.tbz2)
# GNU tar can automatically select the decompression method
# (info "(tar) gzip").