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

Fix error when installing with <install-source-root> and source file names

are absolute.


[SVN r29180]
This commit is contained in:
Vladimir Prus
2005-05-25 06:10:23 +00:00
parent bc159afedb
commit bb2104ccb6

View File

@@ -259,7 +259,7 @@ rule copy-file ( project : source : properties )
# Get the real path of the target. We probably need to strip
# relative path from the target name at construction...
local path = [ $(source).path ] ;
path = [ path.join $(path) $(name:D) ] ;
path = [ path.root $(path) $(name:D) ] ;
# Make the path absolute. Otherwise, it's hard to compute relative
# path. The 'source-root' is already absolute, see the
# 'adjust-properties' method above.