From: Zac Medico Date: Sat, 5 Jan 2008 22:01:57 +0000 (-0000) Subject: Make filter_readonly_variables() filter PATH in any case since X-Git-Tag: v2.1.4~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e45e614a430cd094ce2f7594d593370e6248691b;p=portage.git Make filter_readonly_variables() filter PATH in any case since we never want to save of reload it. (trunk r9147) svn path=/main/branches/2.1.2/; revision=9148 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f8ce26014..8faa68f87 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1408,14 +1408,14 @@ filter_readonly_variables() { SANDBOX_DEBUG_LOG SANDBOX_DISABLED SANDBOX_LIB SANDBOX_LOG SANDBOX_ON" filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS} - BASH_[_[:alnum:]]*" + BASH_[_[:alnum:]]* PATH" if hasq --filter-sandbox $* ; then filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*" else filtered_vars="${filtered_vars} ${filtered_sandbox_vars}" fi if hasq --filter-features $* ; then - filtered_vars="${filtered_vars} FEATURES PATH" + filtered_vars="${filtered_vars} FEATURES" fi if ! hasq --allow-extra-vars $* ; then filtered_vars=" diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index e5f65e698..7228cbd77 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -460,7 +460,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 PATH PKGDIR PKGUSE PKG_LOGDIR PKG_TMPDIR \ + NORMAL PKGDIR PKGUSE PKG_LOGDIR PKG_TMPDIR \ PORTAGE_ACTUAL_DISTDIR PORTAGE_ARCHLIST PORTAGE_BASHRC \ PORTAGE_BINPKG_TMPFILE PORTAGE_BUILDDIR \ PORTAGE_COLORMAP PORTAGE_CONFIGROOT PORTAGE_DEBUG \