From 96f2131e593e206f0e458409f22adfff8c1b5356 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2016 15:59:06 +0200 Subject: Clean up variable usage --- build2/dist/module.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'build2/dist/module.cxx') 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 ("dist.root"); v.find ("config.dist.root"); - //@@ VAR type - // - v.find ("dist.cmd"); - v.find ("config.dist.cmd"); + v.find ("dist.cmd"); + v.find ("config.dist.cmd"); v.find ("dist.archives"); v.find ("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 -- cgit v1.1