From fa5253f154551345ec901c2b4144ad5f1becf3b2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 21 Nov 2007 04:13:17 +0000 Subject: Disable logging and ${T}/environment saving during the pkg_info() phase. (trunk r8526) svn path=/main/branches/2.1.2/; revision=8568 --- bin/ebuild.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/ebuild.sh') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 3a8320b38..3af1f4dbd 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1777,8 +1777,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 -- cgit v1.2.3-1-g7c22