stdenv/setup.sh: unbreak *.lz sources on darwin
This commit is contained in:
parent
01c0be6ece
commit
fcafdd2761
@ -450,6 +450,10 @@ unpackFile() {
|
|||||||
# Don't rely on tar knowing about .xz.
|
# Don't rely on tar knowing about .xz.
|
||||||
xz -d < $curSrc | tar xf -
|
xz -d < $curSrc | tar xf -
|
||||||
;;
|
;;
|
||||||
|
*.tar.lz )
|
||||||
|
# Don't rely on tar knowing about .lz.
|
||||||
|
lzip -d < $curSrc | tar xf -
|
||||||
|
;;
|
||||||
*.tar | *.tar.* | *.tgz | *.tbz2)
|
*.tar | *.tar.* | *.tgz | *.tbz2)
|
||||||
# GNU tar can automatically select the decompression method
|
# GNU tar can automatically select the decompression method
|
||||||
# (info "(tar) gzip").
|
# (info "(tar) gzip").
|
||||||
|
Loading…
x
Reference in New Issue
Block a user