diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 20:47:17 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 20:47:17 +0300 |
commit | dc8aa85f3d78fccf204530c8db6baf68229edf5e (patch) | |
tree | 4d2d52e07644369d6d9def84dbb6724523698fab /mod/build-config-module.cxx | |
parent | cdcb44468670b2f557070c43f2ca6dd389eda03c (diff) |
Adapt to swapping of entry and pattern parameters in butl::path_match()
Diffstat (limited to 'mod/build-config-module.cxx')
-rw-r--r-- | mod/build-config-module.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/build-config-module.cxx b/mod/build-config-module.cxx index 1efc514..028c956 100644 --- a/mod/build-config-module.cxx +++ b/mod/build-config-module.cxx @@ -310,13 +310,13 @@ namespace brep for (const build_constraint& c: constrs) { - if (path_match (dash_components_to_path (c.config), - cn, + if (path_match (cn, + dash_components_to_path (c.config), dir_path () /* start */, path_match_flags::match_absent) && (!c.target || - path_match (dash_components_to_path (*c.target), - tg, + path_match (tg, + dash_components_to_path (*c.target), dir_path () /* start */, path_match_flags::match_absent))) { |