diff options
Diffstat (limited to 'build2/install/rule.cxx')
-rw-r--r-- | build2/install/rule.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx index 82dde04..68000af 100644 --- a/build2/install/rule.cxx +++ b/build2/install/rule.cxx @@ -273,8 +273,7 @@ namespace build2 { // The target can be in out or src. // - const dir_path& d ( - (t.out.empty () ? t.dir : t.out).leaf (p->out_path ())); + const dir_path& d (t.out_dir ().leaf (p->out_path ())); // Add it as another leading directory rather than modifying // the last one directly; somehow, it feels right. |