Bug #298479 - Filter $USER from the ebuild environment since it's inaccurate
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:11:47 +0000 (20:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:11:47 +0000 (20:11 -0000)
with FEATURES=userpriv. (trunk r15332)

svn path=/main/branches/2.1.7/; revision=15563

pym/portage/__init__.py

index a090042af7e3d04c77e7c70d322ceb217d8cb04a..e7667e1317eb1c1252bd351e60a2d507bdd63985 100644 (file)
@@ -1468,7 +1468,7 @@ class config(object):
 
        # misc variables inherited from the calling environment
        _environ_filter += [
-               "INFOPATH", "MANPATH",
+               "INFOPATH", "MANPATH", "USER",
        ]
 
        # variables that break bash