projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab14e23
)
After loading the environment, make sure the color variables
author
Zac Medico
<zmedico@gentoo.org>
Tue, 8 Jan 2008 09:05:24 +0000
(09:05 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 8 Jan 2008 09:05:24 +0000
(09:05 -0000)
are in sync with the current NOCOLOR setting.
svn path=/main/trunk/; revision=9158
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 8faa68f87ef4bff11e80e63293bf4e95c3cd3922..56347fc9d95b516cc13c9153f75bacf3478d2484 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-1630,6
+1630,18
@@
if ! hasq ${EBUILD_PHASE} clean depend && \
unset x y
export SANDBOX_ON=${PORTAGE_SANDBOX_ON}
unset PORTAGE_SANDBOX_ON
+
+ # After loading the environment, make sure the color variables
+ # are in sync with the current NOCOLOR setting.
+ case "${NOCOLOR:-false}" in
+ yes|true)
+ unset_colors
+ ;;
+ no|false)
+ set_colors
+ ;;
+ esac
+
source_all_bashrcs
fi