summaryrefslogtreecommitdiffstats
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
parented138969fab99cc36e6476ccda3ef592976a4e80 (diff)
downloadportage-ad174264909ddd2650f758927a360185a2c5ecb4.tar.gz
portage-ad174264909ddd2650f758927a360185a2c5ecb4.tar.bz2
portage-ad174264909ddd2650f758927a360185a2c5ecb4.zip
Properly close the caches before reloading portage.
svn path=/main/trunk/; revision=4480
-rwxr-xr-xbin/ebuild2
1 files changed, 1 insertions, 1 deletions
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)