summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-11 05:21:31 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-11 05:21:31 +0000
commit5bb7f14c7b4bdbbed86d1a3a4928dd9cd287ae18 (patch)
treece0f8987bd92e8fd19080f2318dd202a2e2f15f5 /bin
parentBug #253904 - Add a lookahead mechanism inside (diff)
downloadportage-multirepo-5bb7f14c7b4bdbbed86d1a3a4928dd9cd287ae18.tar.gz
portage-multirepo-5bb7f14c7b4bdbbed86d1a3a4928dd9cd287ae18.tar.bz2
portage-multirepo-5bb7f14c7b4bdbbed86d1a3a4928dd9cd287ae18.zip
Make save_ebuild_env() filter NOCOLOR, and remove related code from ebuild.sh
since that variable is not loaded from $T/environment anymore. (trunk r12625) svn path=/main/branches/2.1.6/; revision=12899
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh12
-rwxr-xr-xbin/isolated-functions.sh2
2 files changed, 1 insertions, 13 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 65684b05..d4bceae4 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1831,18 +1831,6 @@ if ! hasq "$EBUILD_PHASE" clean cleanrm 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
-
fi
if ! hasq "$EBUILD_PHASE" clean cleanrm && \
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 5c1444ef..82d2fed5 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -526,7 +526,7 @@ save_ebuild_env() {
ECLASSDIR ECLASS_DEPTH ENDCOL FAKEROOTKEY \
GOOD HILITE HOME IMAGE \
LAST_E_CMD LAST_E_LEN LD_PRELOAD MISC_FUNCTIONS_ARGS MOPREFIX \
- NORMAL PKGDIR PKGUSE PKG_LOGDIR PKG_TMPDIR \
+ NOCOLOR NORMAL PKGDIR PKGUSE PKG_LOGDIR PKG_TMPDIR \
PORTAGE_ACTUAL_DISTDIR PORTAGE_ARCHLIST \
PORTAGE_BASHRC PORTAGE_BASHRCS_SOURCED \
PORTAGE_BINPKG_TAR_OPTS PORTAGE_BINPKG_TMPFILE PORTAGE_BUILDDIR \