summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-22 07:42:02 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-22 07:42:02 +0000
commit4a3d306cdb4449ea523c21563b4b2c54b81d1769 (patch)
treeb59cbddfa3461dee4c7260d8f2bf45980a2ffd84 /bin/ebuild.sh
parent468869916adf61369f33459758ae95f4d2e7fbd1 (diff)
downloadportage-4a3d306cdb4449ea523c21563b4b2c54b81d1769.tar.gz
portage-4a3d306cdb4449ea523c21563b4b2c54b81d1769.tar.bz2
portage-4a3d306cdb4449ea523c21563b4b2c54b81d1769.zip
Filter HOSTTYPE, MACHTYPE, and OSTYPE vars that are set by bash.
(trunk r8595). svn path=/main/branches/2.1.2/; revision=8596
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index dadcedf64..3a4273c85 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1422,7 +1422,8 @@ save_ebuild_env() {
(
# misc variables set by bash
- unset BASH IFS OLDPWD OPTERR OPTIND PS4 PWD SHELL
+ unset BASH HOSTTYPE IFS MACHTYPE OLDPWD \
+ OPTERR OPTIND OSTYPE PS4 PWD SHELL
# misc variables inherited from the calling environment
unset COLORTERM DISPLAY EDITOR LESS LESSOPEN LOGNAME LS_COLORS PAGER \