diff options
Diffstat (limited to 'build2/dist/module.cxx')
-rw-r--r-- | build2/dist/module.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/build2/dist/module.cxx b/build2/dist/module.cxx index 6f40b33..ab8c5a3 100644 --- a/build2/dist/module.cxx +++ b/build2/dist/module.cxx @@ -46,10 +46,8 @@ namespace build2 v.find<dir_path> ("dist.root"); v.find<dir_path> ("config.dist.root"); - //@@ VAR type - // - v.find<string> ("dist.cmd"); - v.find<string> ("config.dist.cmd"); + v.find<path> ("dist.cmd"); + v.find<path> ("config.dist.cmd"); v.find<strings> ("dist.archives"); v.find<strings> ("config.dist.archives"); @@ -112,13 +110,13 @@ namespace build2 if (s) { const value& cv ( - config::required (r, "config.dist.cmd", "install").first); + config::required (r, "config.dist.cmd", path ("install")).first); if (cv && !cv.empty ()) v = cv; } else - v = "install"; + v = path ("install"); } // dist.archives |