summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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)