aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/repositories/e/ebuild_id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index 579065594..3fd6154bc 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -1576,7 +1576,7 @@ EbuildID::add_build_options(const std::shared_ptr<Choices> & choices) const
{
UnconditionalRestrictFinder f;
restrict_key()->parse_value()->top()->accept(f);
- mask_tests = f.s.end() == f.s.find("test");
+ mask_tests = f.s.end() != f.s.find("test");
may_be_unrestricted_strip = f.s.end() == f.s.find("strip");
}