Properly close the caches before reloading portage.
authorZac Medico <zmedico@gentoo.org>
Tue, 19 Sep 2006 07:20:25 +0000 (07:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 19 Sep 2006 07:20:25 +0000 (07:20 -0000)
svn path=/main/trunk/; revision=4480

bin/ebuild

index e6819b9dabd6d088d2056b129c1694a479290d9a..773910929ffed3e2bf7cf51c5727d9081265a37b 100755 (executable)
@@ -66,7 +66,7 @@ else:
                overlay = "/".join(ebuild_split[:-2])
                os.environ["PORTDIR_OVERLAY"] = os.environ.get("PORTDIR_OVERLAY","") + " " + overlay
                print "Appending %s to PORTDIR_OVERLAY..." % overlay
-
+               portage.close_portdbapi_caches()
                reload(portage)
                portage_ebuild = portage.portdb.findname(cpv)