summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 240b3e487..71a582a6a 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -678,7 +678,7 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None):
x = os.path.join(target_root, lib_dir.lstrip(os.sep))
try:
newldpathtime = os.stat(x)[stat.ST_MTIME]
- lib_dirs.add(normalize_path(os.path.sep + lib_dir))
+ lib_dirs.add(normalize_path(x))
except OSError, oe:
if oe.errno == errno.ENOENT:
try: