aboutsummaryrefslogtreecommitdiff
path: root/build2/bash/init.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-26 14:12:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-30 13:04:37 +0300
commitd90ac405ae50f84a3cf4ba0b806cca1c89f81cff (patch)
tree3f66be39a80a0a32cbba332e34b418fa1fc9ad02 /build2/bash/init.cxx
parente92a1aab0e1c7c9ba8e6ab9a7049207468ca53fc (diff)
Make project variable to be of project_name type
Diffstat (limited to 'build2/bash/init.cxx')
-rw-r--r--build2/bash/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/bash/init.cxx b/build2/bash/init.cxx
index ff653c2..7bfea58 100644
--- a/build2/bash/init.cxx
+++ b/build2/bash/init.cxx
@@ -54,7 +54,7 @@ namespace build2
// Install into bin/<project>/ by default stripping the .bash
// extension from <project> if present.
//
- const string& p (cast<string> (rs.vars[var_project]));
+ const project_name& p (cast<project_name> (rs.vars[var_project]));
install_path<bash> (bs, dir_path ("bin") /= project_base (p));
install_mode<bash> (bs, "644");