projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d2def
)
(trunk r12593)
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:48:50 +0000
(
03:48
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:48:50 +0000
(
03:48
-0000)
svn path=/main/branches/2.1.6/; revision=12874
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 301eb7949b3ffd324efa28c6632e6487aaf026d9..93558f39e2ec2dccfa716a1a1052b01d5a13fa06 100755
(executable)
--- 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."
;;