From dc8aa85f3d78fccf204530c8db6baf68229edf5e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 28 Sep 2019 20:47:17 +0300 Subject: Adapt to swapping of entry and pattern parameters in butl::path_match() --- mod/mod-build-task.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/mod-build-task.cxx') 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 ( -- cgit v1.1