summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 7c3189ab8..bc4700e0b 100755
--- 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)