aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-builds.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-builds.cxx')
-rw-r--r--mod/mod-builds.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx
index 135aceb..e43739f 100644
--- a/mod/mod-builds.cxx
+++ b/mod/mod-builds.cxx
@@ -111,7 +111,8 @@ build_query (const brep::cstrings& configs, const brep::params::builds& params)
// Package name.
//
if (!params.name ().empty ())
- q = q && qb::id.package.name.like (transform (params.name ()));
+ q = q && qb::id.package.name.like (
+ package_name (transform (params.name ()), package_name::raw_string));
// Package version.
//
@@ -214,7 +215,8 @@ package_query (const brep::params::builds& params)
// Package name.
//
if (!params.name ().empty ())
- q = q && P::id.name.like (transform (params.name ()));
+ q = q && P::id.name.like (
+ package_name (transform (params.name ()), package_name::raw_string));
// Package version.
//