diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-11 03:48:50 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-11 03:48:50 +0000 |
commit | 2325218a1a890866499b04590c1f89010057a0e8 (patch) | |
tree | f5ea2e246ad6736303e5c348e004862375ab2208 /bin | |
parent | 50d2def98385df3c06cdc803e8853c26cb6c2b1d (diff) | |
download | portage-2325218a1a890866499b04590c1f89010057a0e8.tar.gz portage-2325218a1a890866499b04590c1f89010057a0e8.tar.bz2 portage-2325218a1a890866499b04590c1f89010057a0e8.zip |
(trunk r12593)
svn path=/main/branches/2.1.6/; revision=12874
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ebuild.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 301eb7949..93558f39e 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -434,6 +434,14 @@ unpack() { lzma -dc "${srcdir}${x}" > ${x%.*} || die "$myfail" fi ;; + xz) + if [ "${y}" == "tar" ]; then + xz -dc "${srcdir}${x}" | tar xof - ${tar_opts} + assert "$myfail" + else + xz -dc "${srcdir}${x}" > ${x%.*} || die "$myfail" + fi + ;; *) vecho "unpack ${x}: file format not recognized. Ignoring." ;; |