projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed01b23
)
add support for .lzma / .tar.lzma to unpack
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 7 Oct 2007 18:00:56 +0000
(18:00 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 7 Oct 2007 18:00:56 +0000
(18:00 -0000)
svn path=/main/trunk/; revision=7991
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index f5e625ed6b490c136749182a3f1f0a2ae4ecf614..b298724e2a15ff168c8c8fdf438c994637570913 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-386,6
+386,14
@@
unpack() {
a|deb)
ar x "${srcdir}/${x}" || die "$myfail"
;;
+ lzma)
+ if [ "${y}" == "tar" ]; then
+ lzma -dc "${srcdir}${x}" | tar xof - ${tar_opts}
+ assert "$myfail"
+ else
+ lzma -dc "${srcdir}${x}" > ${x%.*} || die "$myfail"
+ fi
+ ;;
*)
vecho "unpack ${x}: file format not recognized. Ignoring."
;;