projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13feb99
)
Bug #336285 - Add workaround to unpack() in order to prevent unzip
author
Zac Medico
<zmedico@gentoo.org>
Mon, 6 Sep 2010 21:34:55 +0000
(14:34 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 6 Sep 2010 21:34:55 +0000
(14:34 -0700)
from interactively prompting under some error conditions.
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 7c3189ab8eeb7bcbac82a726aee0b7a5960142ab..bc4700e0b2323acae7ee8c3b595748319526f8fc 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-390,6
+390,9
@@
unpack() {
assert_sigpipe_ok "$myfail"
;;
ZIP|zip|jar)
+ # unzip will interactively prompt under some error conditions,
+ # as reported in bug #336285
+ ( while true ; do echo n ; done ) | \
unzip -qo "${srcdir}${x}" || die "$myfail"
;;
gz|Z|z)