From b11aaa16d404ce7dc55de6b7338dccbf053a72bd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Jul 2016 07:17:29 +0200 Subject: Adjust to new path implementation, use to support reversibility --- build2/install/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/install') diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx index 9157413..33356b0 100644 --- a/build2/install/rule.cxx +++ b/build2/install/rule.cxx @@ -239,7 +239,7 @@ namespace build2 static void install (const install_dir& base, const dir_path& d) { - path reld (relative (d)); + dir_path reld (relative (d)); cstrings args; @@ -288,7 +288,7 @@ namespace build2 static void install (const install_dir& base, file& t, bool verbose = true) { - path reld (relative (base.dir)); + dir_path reld (relative (base.dir)); path relf (relative (t.path ())); cstrings args; -- cgit v1.1