From: Zac Medico Date: Wed, 11 Mar 2009 03:48:50 +0000 (-0000) Subject: (trunk r12593) X-Git-Tag: v2.1.6.8~203 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2325218a1a890866499b04590c1f89010057a0e8;p=portage.git (trunk r12593) svn path=/main/branches/2.1.6/; revision=12874 --- 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." ;;