summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-22 07:41:00 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-22 07:41:00 +0000
commita6745c3dbbd54a1eb8f613b2b94fe862f72fb55e (patch)
tree824016c2175817ce1608fd217255c575adb77c8c
parent51a02214703d0f338611c5f9ce214405e0e58fbb (diff)
downloadportage-a6745c3dbbd54a1eb8f613b2b94fe862f72fb55e.tar.gz
portage-a6745c3dbbd54a1eb8f613b2b94fe862f72fb55e.tar.bz2
portage-a6745c3dbbd54a1eb8f613b2b94fe862f72fb55e.zip
Filter HOSTTYPE, MACHTYPE, and OSTYPE vars that are set by bash.
svn path=/main/trunk/; revision=8595
-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 \