projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46d4021
)
unpack: handle non-gz files from deb2targz
author
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Sep 2011 17:12:19 +0000
(10:12 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Sep 2011 17:15:05 +0000
(10:15 -0700)
This will fix bug #384147.
bin/phase-helpers.sh
patch
|
blob
|
history
diff --git
a/bin/phase-helpers.sh
b/bin/phase-helpers.sh
index a033fa8374186ee19fde288975e1528155197557..ab597ffa7be3472fc5162d2c5471da3ec4606252 100644
(file)
--- a/
bin/phase-helpers.sh
+++ b/
bin/phase-helpers.sh
@@
-340,7
+340,11
@@
unpack() {
# doesn't inadvertently install it.
rm -f "$y"
fi
- mv -f "${y%.deb}".tar.gz data.tar.gz || die "$myfail"
+ local tarfile
+ for tarfile in "${y%.deb}".tar.* ; do
+ mv -f "${tarfile}" data.tar.${tarfile##*.} || \
+ die "$myfail"
+ done
else
ar x "$srcdir$x" || die "$myfail"
fi