diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-29 10:51:28 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-30 22:17:19 -0800 |
commit | 4431e4c8951b40de89dd3ee64e98634de34cc2dd (patch) | |
tree | 66419654f13e62ff668388cec32d05a95f92c0ec | |
parent | 2d36ccae3e834632a69d1f51e627722d7af0b16c (diff) | |
download | portage-4431e4c8951b40de89dd3ee64e98634de34cc2dd.tar.gz portage-4431e4c8951b40de89dd3ee64e98634de34cc2dd.tar.bz2 portage-4431e4c8951b40de89dd3ee64e98634de34cc2dd.zip |
unpack: handle echo failure in unzip pipe
This will fix bug #338744.
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index e88f0158d..8e58b86d5 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -387,7 +387,7 @@ unpack() { ZIP|zip|jar) # unzip will interactively prompt under some error conditions, # as reported in bug #336285 - ( while true ; do echo n ; done ) | \ + ( while true ; do echo n || break ; done ) | \ unzip -qo "${srcdir}${x}" || die "$myfail" ;; gz|Z|z) |