From 57cd3f8d6dfc951df8231724be2f31d60a4260ea Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Jun 2008 18:00:25 +0000 Subject: [PATCH] Bug #228595 - Use os.path.realpath() before comparing paths to those returned from portdbapi.getRepositoryPath() since those paths are also cannonical. svn path=/main/trunk/; revision=10746 --- pym/_emerge/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index f918d20ac..6ce120888 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -9076,6 +9076,7 @@ def emerge_main(): if "porttree" in trees[root]: db = trees[root]["porttree"].dbapi paths = (db.mysettings["PORTDIR"]+" "+db.mysettings["PORTDIR_OVERLAY"]).split() + paths = [os.path.realpath(p) for p in paths] repos = db.getRepositories() for r in repos: p = db.getRepositoryPath(r) -- 2.26.2