aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-29 14:20:21 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-29 14:20:21 +0000
commitecff691d72eff7fe4d623761e382b9fe3fc1d451 (patch)
tree2f918f40ac5ffbed6ace5a2017b5807591f80914
parent3c9f7382f08fef5cd10e32853e76db4ea0306ac9 (diff)
downloadpaludis-ecff691d72eff7fe4d623761e382b9fe3fc1d451.tar.gz
paludis-ecff691d72eff7fe4d623761e382b9fe3fc1d451.tar.xz
Ignore files in VDB
-rw-r--r--paludis/repositories/gentoo/vdb_repository.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/vdb_repository.cc b/paludis/repositories/gentoo/vdb_repository.cc
index da8a9b2..4d22f38 100644
--- a/paludis/repositories/gentoo/vdb_repository.cc
+++ b/paludis/repositories/gentoo/vdb_repository.cc
@@ -345,7 +345,8 @@ namespace paludis
try
{
for (DirIterator cat_i(location), cat_iend ; cat_i != cat_iend ; ++cat_i)
- load_entries_for(CategoryNamePart(cat_i->basename()));
+ if (cat_i->is_directory())
+ load_entries_for(CategoryNamePart(cat_i->basename()));
std::sort(entries.begin(), entries.end());
}