From eb961efa13b7cf0856f4a7e87952f3abfe2244a3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Oct 2006 10:49:27 +0000 Subject: Fix the new env-update lib dirs logic to properly account for $ROOT. svn path=/main/trunk/; revision=4664 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-1-g7c22