aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-task.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-09-28 20:47:17 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-09-28 20:47:17 +0300
commitdc8aa85f3d78fccf204530c8db6baf68229edf5e (patch)
tree4d2d52e07644369d6d9def84dbb6724523698fab /mod/mod-build-task.cxx
parentcdcb44468670b2f557070c43f2ca6dd389eda03c (diff)
Adapt to swapping of entry and pattern parameters in butl::path_match()
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r--mod/mod-build-task.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 030c41d..7edc14a 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -160,8 +160,8 @@ handle (request& rq, response& rs)
//
try
{
- if (path_match (dash_components_to_path (c.machine_pattern),
- dash_components_to_path (m.name),
+ if (path_match (dash_components_to_path (m.name),
+ dash_components_to_path (c.machine_pattern),
dir_path () /* start */,
path_match_flags::match_absent) &&
cfg_machines.insert (