Bug #298479 - Filter $USER from the ebuild environment since it's inaccurate
authorZac Medico <zmedico@gentoo.org>
Tue, 9 Feb 2010 21:27:47 +0000 (21:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 9 Feb 2010 21:27:47 +0000 (21:27 -0000)
with FEATURES=userpriv.

svn path=/main/trunk/; revision=15332

pym/portage/__init__.py

index 6d358f5163c7fdd09f56b76bb0f3072a8eee7dd5..0879b9b9dd99d566eb1af1df5d0c715abd0f0e49 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