summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico2010-08-20 01:46:12 (GMT)
committerZac Medico2010-08-20 01:46:12 (GMT)
commit133bdfe6d497d3e138512a777ddfee2c3aff1393 (patch)
tree0c871a61eeda4ea017b1e7277c361ecf57d58353
parent59d49a224ea5d008ce9eb2cdd312e3f46870fa4b (diff)
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.
-rw-r--r--pym/portage/package/ebuild/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index 3c3d726..4893cfb 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: