summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-19 07:20:25 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-19 07:20:25 +0000
commitad174264909ddd2650f758927a360185a2c5ecb4 (patch)
tree068b66c3060fb0fc8360f8098c243e2121ca8f22 /bin/ebuild
parentThis is a new --tree implementation by Jason Stubbs, from bug #147766. (diff)
downloadportage-multirepo-ad174264909ddd2650f758927a360185a2c5ecb4.tar.gz
portage-multirepo-ad174264909ddd2650f758927a360185a2c5ecb4.tar.bz2
portage-multirepo-ad174264909ddd2650f758927a360185a2c5ecb4.zip
Properly close the caches before reloading portage.
svn path=/main/trunk/; revision=4480
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild
index e6819b9d..77391092 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)