Filename globs now surrounded by ^$
This commit is contained in:
parent
a961f15f00
commit
66de7e3055
1 changed files with 2 additions and 2 deletions
|
|
@ -715,10 +715,10 @@ void instance_t::include_directive(char * line)
|
||||||
mask_t glob;
|
mask_t glob;
|
||||||
#if BOOST_VERSION >= 103700
|
#if BOOST_VERSION >= 103700
|
||||||
path parent_path = filename.parent_path();
|
path parent_path = filename.parent_path();
|
||||||
glob.assign_glob(filename.filename());
|
glob.assign_glob('^' + filename.filename() + '$');
|
||||||
#else // BOOST_VERSION >= 103700
|
#else // BOOST_VERSION >= 103700
|
||||||
path parent_path = filename.branch_path();
|
path parent_path = filename.branch_path();
|
||||||
glob.assign_glob(filename.leaf());
|
glob.assign_glob('^' + filename.leaf() + '$');
|
||||||
#endif // BOOST_VERSION >= 103700
|
#endif // BOOST_VERSION >= 103700
|
||||||
|
|
||||||
bool files_found = false;
|
bool files_found = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue