Use repoUserLocationList for PORTDIR_OVERLAY.
authorZac Medico <zmedico@gentoo.org>
Mon, 11 Oct 2010 00:55:48 +0000 (17:55 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 11 Oct 2010 00:55:48 +0000 (17:55 -0700)
pym/portage/package/ebuild/config.py

index 54876a98f0882a114329427443759dad417d2ba7..45eae7871cbfca7f6b18e5ed828dfd16cf786fcb 100644 (file)
@@ -483,7 +483,7 @@ class config(object):
                        #filling PORTDIR and PORTDIR_OVERLAY variable for compatibility
                        self["PORTDIR"] = self.repositories.mainRepoLocation()
                        self.backup_changes("PORTDIR")
-                       portdir_overlay = list(self.repositories.repoLocationList())
+                       portdir_overlay = list(self.repositories.repoUserLocationList())
                        if self["PORTDIR"] in portdir_overlay:
                                portdir_overlay.remove(self["PORTDIR"])
                        self["PORTDIR_OVERLAY"] = " ".join(portdir_overlay)