2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

When project-scope 'glob' is called with directory in wildcard, return

absolute paths names.


[SVN r22849]
This commit is contained in:
Vladimir Prus
2004-05-17 09:02:27 +00:00
parent e7fe779afe
commit d48a0701ae

View File

@@ -615,9 +615,13 @@ module project-rules
{
local l = [ path.join $(location) $(w:D) ] ;
local paths = [ path.glob $(l) : $(w:D="") ] ;
# The paths we've found are relative to current directory,
# but the names specified in sources list are assumed to
# be relative to source directory of the corresponding
# prject. So, just make the name absolute.
for local p in $(paths)
{
all-paths += [ path.relative $(p) $(location) ] ;
all-paths += [ path.root $(p) [ path.pwd ] ] ;
}
}