aboutsummaryrefslogtreecommitdiff
path: root/mod/build-config.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-12-01 22:47:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-12-02 16:35:59 +0300
commit19bfa091d6132431713ab937332b153b31fd3759 (patch)
treef957871411d320148167309fdc38b883a57126a8 /mod/build-config.hxx
parent03afe0175b10526de1cec862191aca78dc75bc56 (diff)
Match dash-separated components (build configuration names, etc.) as directories
Diffstat (limited to 'mod/build-config.hxx')
-rw-r--r--mod/build-config.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/mod/build-config.hxx b/mod/build-config.hxx
index 17fd6af..6eece1d 100644
--- a/mod/build-config.hxx
+++ b/mod/build-config.hxx
@@ -83,10 +83,11 @@ namespace brep
// Convert dash-separated components (target, build configuration name,
// machine name) or a pattern thereof into a path, replacing dashes with
- // slashes (directory separators) and `**` with `*/**/*`, for a subsequent
- // match using the path_match() functionality (the idea here is for
- // `linux**` to match `linux-gcc` which is quite natural to expect). Throw
- // invalid_path if the resulting path is invalid.
+ // slashes (directory separators), `**` with `*/**/*`, and appending the
+ // trailing slash for a subsequent match using the path_match()
+ // functionality (the idea here is for `linux**` to match `linux-gcc` which
+ // is quite natural to expect). Throw invalid_path if the resulting path is
+ // invalid.
//
// Note that the match_absent path match flag must be used for the above
// `**` transformation to work.