From 133bdfe6d497d3e138512a777ddfee2c3aff1393 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 19 Aug 2010 18:46:12 -0700 Subject: [PATCH] Stop trying to read /etc/make.globals because it's been a symlink to /usr/share/portage/config/make.globals since portage-2.1.6. --- pym/portage/package/ebuild/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 3c3d72603..4893cfbb4 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -714,7 +714,7 @@ class config(object): # make.globals should not be relative to config_root # because it only contains constants. - for x in (GLOBAL_CONFIG_PATH, "/etc"): + for x in (GLOBAL_CONFIG_PATH,): self.mygcfg = getconfig(os.path.join(x, "make.globals"), expand=expand_map) if self.mygcfg: -- 2.26.2