summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 516be638d..7ccf5bdeb 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -541,8 +541,8 @@ class digraph(object):
def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None,
env=None):
if target_root is None:
- global root
- target_root = root
+ global settings
+ target_root = settings["ROOT"]
if prev_mtimes is None:
global mtimedb
prev_mtimes = mtimedb["ldpath"]