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").