summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-12 10:49:27 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-12 10:49:27 +0000
commiteb961efa13b7cf0856f4a7e87952f3abfe2244a3 (patch)
treef0b3bcc04cf5dc50271bdd0f2832235dd6f7eed6
parent4b1a7ad02ced20634b688f4c0c97703d8896a9f7 (diff)
downloadportage-eb961efa13b7cf0856f4a7e87952f3abfe2244a3.tar.gz
portage-eb961efa13b7cf0856f4a7e87952f3abfe2244a3.tar.bz2
portage-eb961efa13b7cf0856f4a7e87952f3abfe2244a3.zip
Fix the new env-update lib dirs logic to properly account for $ROOT.
svn path=/main/trunk/; revision=4664
-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: