aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-09-28 20:48:35 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-01 12:15:10 +0300
commit59db6ff22d090f8b47e278e9ecbeaa049ba3ba55 (patch)
tree5a0a1944e12e8a67d24e5a15390e1792d9122bff /libbuild2/variable.cxx
parent4c7a3c1350687d2913a2e008c2c41deceedcdead (diff)
Adapt to swapping of entry and pattern parameters in butl::path_match()
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 86109d2..c84a89c 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -1485,7 +1485,7 @@ namespace build2
if (pat != "*")
{
if (name.size () < pat.size () - 1 || // One for '*' or '?'.
- !butl::path_match (pat, name))
+ !butl::path_match (name, pat))
continue;
}