Don't use varexpand for profile.env, bug #410625. v2.2.0_alpha99
authorZac Medico <zmedico@gentoo.org>
Tue, 3 Apr 2012 06:52:09 +0000 (23:52 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 3 Apr 2012 06:52:09 +0000 (23:52 -0700)
pym/portage/package/ebuild/config.py

index 4304e09c76fb754c05e16bdd9bb3d42a9512ae14..2cd21f3c918b16a78f6d6f8df3ae2d5875f5bfce 100644 (file)
@@ -320,7 +320,7 @@ class config(object):
                        expand_map["EPREFIX"] = eprefix
 
                        env_d = getconfig(os.path.join(eroot, "etc", "profile.env"),
-                               expand=expand_map)
+                               expand=False)
 
                        make_globals = getconfig(os.path.join(
                                self.global_config_path, 'make.globals'), expand=expand_map)