From 6a2686391de52d74eb3fe8187835e691303ebd8e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 20 Nov 2007 20:02:50 +0000 Subject: [PATCH] make.globals should not be relative to config_root because it only contains constants. (trunk r8471) svn path=/main/branches/2.1.2/; revision=8549 --- pym/portage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index 8d98a3483..254ae0b1a 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1233,8 +1233,10 @@ class config: self.puseforce_list.append(cpdict) del rawpuseforce + # make.globals should not be relative to config_root + # because it only contains constants. try: - self.mygcfg = getconfig(os.path.join(config_root, "etc", "make.globals")) + self.mygcfg = getconfig(os.path.join("/etc", "make.globals")) if self.mygcfg is None: self.mygcfg = {} -- 2.26.2