aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-01 22:35:36 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-01 22:35:36 +0000
commitb87cf2e789033a79d9eae5cc553ade1a0a441f90 (patch)
tree35ece8d7cf4ef592eb29196194fc8bb2bb160eeb
parent1d50fc8dd975dcdcbadcee389b0d98805c0d02c5 (diff)
downloadpaludis-b87cf2e789033a79d9eae5cc553ade1a0a441f90.tar.gz
paludis-b87cf2e789033a79d9eae5cc553ade1a0a441f90.tar.xz
Don't save metadata cache for EAPI=unknown
-rw-r--r--paludis/repositories/portage/ebuild_entries.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/portage/ebuild_entries.cc b/paludis/repositories/portage/ebuild_entries.cc
index 21c7755..6d720ca 100644
--- a/paludis/repositories/portage/ebuild_entries.cc
+++ b/paludis/repositories/portage/ebuild_entries.cc
@@ -150,7 +150,7 @@ EbuildEntries::generate_version_metadata(const QualifiedPackageName & q,
if (0 == ((result = cmd.metadata())))
throw InternalError(PALUDIS_HERE, "cmd.metadata() is zero pointer???");
- if (_imp->params.write_cache.basename() != "empty")
+ if (_imp->params.write_cache.basename() != "empty" && result->eapi != "UNKNOWN")
{
EbuildFlatMetadataCache metadata_cache(write_cache_file, ebuild_file, _imp->master_mtime,
_imp->eclass_mtimes, false);