diff --git a/src/tools/stage.jam b/src/tools/stage.jam index 17c70a834..f856ae6f2 100644 --- a/src/tools/stage.jam +++ b/src/tools/stage.jam @@ -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.