diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-06 14:34:55 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-06 14:34:55 -0700 |
commit | e5a6df64152a14285356b908e95022d0d7dc02a0 (patch) | |
tree | c9d14c544a05805353bff054f993277c893c32fb | |
parent | 13feb999d3ab6af4a66734471a9795d7450fa945 (diff) | |
download | portage-e5a6df64152a14285356b908e95022d0d7dc02a0.tar.gz portage-e5a6df64152a14285356b908e95022d0d7dc02a0.tar.bz2 portage-e5a6df64152a14285356b908e95022d0d7dc02a0.zip |
Bug #336285 - Add workaround to unpack() in order to prevent unzip
from interactively prompting under some error conditions.
-rwxr-xr-x | bin/ebuild.sh | 3 |
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) |