aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-04-30 13:36:03 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-04-30 13:36:03 +0000
commitc6eba9b5c810263fb683348bd622433082233b88 (patch)
tree9a025bba59b756d6ddb91a0bfeeeb075cec28e70 /src
parent6b4260d8e76b93572523ac707e2ed9b0d842c0ef (diff)
downloadpaludis-c6eba9b5c810263fb683348bd622433082233b88.tar.gz
paludis-c6eba9b5c810263fb683348bd622433082233b88.tar.xz
Improve ebuild name checking.
Diffstat (limited to 'src')
-rw-r--r--src/clients/qualudis/qualudis.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/clients/qualudis/qualudis.cc b/src/clients/qualudis/qualudis.cc
index 5774952c6..b280e8ecc 100644
--- a/src/clients/qualudis/qualudis.cc
+++ b/src/clients/qualudis/qualudis.cc
@@ -307,10 +307,6 @@ namespace
if (! is_file_with_extension(*f, ".ebuild", IsFileWithOptions()))
continue;
- // Don't check ebuilds with the wrong name.
- if (stringify(dir.basename()) != stringify(f->basename()).substr(0,stringify(dir.basename()).length()))
- continue;
-
qa::EbuildCheckData d(
QualifiedPackageName(CategoryNamePart(stringify(dir.dirname().basename())),
PackageNamePart(stringify(dir.basename()))),
@@ -332,10 +328,6 @@ namespace
if (! is_file_with_extension(*f, ".ebuild", IsFileWithOptions()))
continue;
- // Don't check ebuilds with the wrong name.
- if (stringify(dir.basename()) != stringify(f->basename()).substr(0,stringify(dir.basename()).length()))
- continue;
-
for (RepositoryPortageInterface::ProfilesIterator
i(env.main_repository()->portage_interface->begin_profiles()),
i_end(env.main_repository()->portage_interface->end_profiles()) ; i != i_end ; ++i)