aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-07 23:33:55 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-07 23:33:55 +0000
commit154b034f2935a0aca3154baa28084bbd0ef2e02d (patch)
treed280b86c453c6b9efe54305406c20a6052080c64
parentc0de5bc1be51802e2d10cc9770aa38792b4e5540 (diff)
downloadpaludis-154b034f2935a0aca3154baa28084bbd0ef2e02d.tar.gz
paludis-154b034f2935a0aca3154baa28084bbd0ef2e02d.tar.xz
Don't give no cache warnings if the cache directory is set to something ending in 'empty'
-rw-r--r--paludis/portage_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index ea21de3..f9ee9af 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -554,7 +554,7 @@ PortageRepository::do_version_metadata(
ok = true;
}
- else
+ else if (_implementation->cache.basename() != "empty")
Log::get_instance()->message(ll_warning, "Couldn't read the cache file at '"
+ stringify(cache_file) + "'");
}