From: Zac Medico Date: Tue, 19 Sep 2006 07:20:25 +0000 (-0000) Subject: Properly close the caches before reloading portage. X-Git-Tag: v2.1.1-r1~55 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ad174264909ddd2650f758927a360185a2c5ecb4;p=portage.git Properly close the caches before reloading portage. svn path=/main/trunk/; revision=4480 --- diff --git a/bin/ebuild b/bin/ebuild index e6819b9da..773910929 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -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)