From: Zac Medico Date: Fri, 13 Jul 2007 19:40:30 +0000 (-0000) Subject: Use os.path.realpath(portdir) for comparison of repo paths. (branchs/prefix r7245) X-Git-Tag: v2.2_pre1~1036 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fffee6384c42c706909f0804304d2af0ea521c1e;p=portage.git Use os.path.realpath(portdir) for comparison of repo paths. (branchs/prefix r7245) svn path=/main/trunk/; revision=7246 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 97613e627..6d27d23b0 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -3017,7 +3017,7 @@ class depgraph(object): # assing lookup indexes if not oldrepo: oldrepoindex = "?" - elif oldrepo == pkgsettings["PORTDIR"]: + elif oldrepo == os.path.realpath(pkgsettings["PORTDIR"]): oldrepoindex = "0" else: oldrepoindex = str(overlays_real.index(os.path.normpath(oldrepo)) + 1)