Filter HOSTTYPE, MACHTYPE, and OSTYPE vars that are set by bash.
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Nov 2007 07:41:00 +0000 (07:41 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Nov 2007 07:41:00 +0000 (07:41 -0000)
svn path=/main/trunk/; revision=8595

bin/ebuild.sh

index dadcedf649603e33f3c1c587e4228f91a7073db5..3a4273c8523478ff019d2078408ad3ab6c2ce931 100755 (executable)
@@ -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 \