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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user