diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-19 03:38:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-19 03:38:37 +0000 |
commit | 9db8ae39f12ee9ef51019d4bdf3d51719ce4f643 (patch) | |
tree | be32a19ddbaed30d7f76e1227dbc7a7eab7ea2ab /bin/isolated-functions.sh | |
parent | 61b870e0f2d3c1193ed0342ef787726751ea3b1e (diff) | |
download | portage-9db8ae39f12ee9ef51019d4bdf3d51719ce4f643.tar.gz portage-9db8ae39f12ee9ef51019d4bdf3d51719ce4f643.tar.bz2 portage-9db8ae39f12ee9ef51019d4bdf3d51719ce4f643.zip |
Move filtering of misc bash variables from save_ebuild_env() to
filter_readonly_variables(). Add additional variables found in
the output of `env -i bash -c 'declare -p'`. (trunk r14676)
svn path=/main/branches/2.1.7/; revision=14689
Diffstat (limited to 'bin/isolated-functions.sh')
-rwxr-xr-x | bin/isolated-functions.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index d4c5c70db..94afc9104 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -497,10 +497,6 @@ save_ebuild_env() { fi fi - # misc variables set by bash - unset BASH HOSTTYPE IFS MACHTYPE OLDPWD \ - OPTERR OPTIND OSTYPE PS4 PWD SHELL SHLVL - # misc variables inherited from the calling environment unset COLORTERM DISPLAY EDITOR LESS LESSOPEN LOGNAME LS_COLORS PAGER \ TERM TERMCAP USER @@ -543,6 +539,7 @@ save_ebuild_env() { source_all_bashrcs ebuild_main \ ebuild_phase ebuild_phase_with_hooks \ _ebuild_arg_to_phase _ebuild_phase_funcs default \ + _pipestatus \ ${QA_INTERCEPTORS} # portage config variables and variables set directly by portage |