aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-16 20:43:25 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-16 20:43:25 +0000
commit3d410c1193145aad25caa4fc5801ed6e3c676103 (patch)
tree50ba822698b11c7da38003a50aad416248f6ebaa
parent5ed2a019fc5d1ed9e01fa3212f409c1e0a840c04 (diff)
downloadpaludis-3d410c1193145aad25caa4fc5801ed6e3c676103.tar.gz
paludis-3d410c1193145aad25caa4fc5801ed6e3c676103.tar.xz
Don't try to treat things like header.txt as a category.
-rw-r--r--src/qualudis/qualudis.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qualudis/qualudis.cc b/src/qualudis/qualudis.cc
index 7f8878b..83e24e5 100644
--- a/src/qualudis/qualudis.cc
+++ b/src/qualudis/qualudis.cc
@@ -311,6 +311,8 @@ namespace
{
if (d->basename() == "CVS" || '.' == d->basename().at(0))
continue;
+ if (! d->is_directory())
+ continue;
if (env.package_database()->fetch_repository(
env.package_database()->favourite_repository())->
has_category_named(CategoryNamePart(d->basename())))