From 2325218a1a890866499b04590c1f89010057a0e8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 03:48:50 +0000 Subject: [PATCH] (trunk r12593) svn path=/main/branches/2.1.6/; revision=12874 --- bin/ebuild.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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." ;; -- 2.26.2