summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-19 06:09:11 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-19 06:09:11 +0000
commit3a372e3e28f111ea27e20124a0b800223e7dfffa (patch)
treefaf402aedca475e52a38e04abfc1a9c244be037a /bin
parentb33d273f98fab390c678f309caed93b0466efc31 (diff)
downloadportage-3a372e3e28f111ea27e20124a0b800223e7dfffa.tar.gz
portage-3a372e3e28f111ea27e20124a0b800223e7dfffa.tar.bz2
portage-3a372e3e28f111ea27e20124a0b800223e7dfffa.zip
Disable logging and ${T}/environment saving during the
pkg_info() phase. svn path=/main/trunk/; revision=8526
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index bbdc6606e..7c9123d8d 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1661,8 +1661,7 @@ done
# Save the env only for relevant phases.
if [ -n "${myarg}" ] && \
- [ "${myarg}" != "clean" ] && \
- [ "${myarg}" != "help" ] ; then
+ ! hasq ${myarg} clean help info ; then
# Do not save myarg in the env, or else the above [ -n "$myarg" ] test will
# give a false positive when ebuild.sh is sourced.
unset myarg