From 759e714238438cccf74f035e1ba11c925b27cd55 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Jan 2018 16:04:39 +0200 Subject: Load config.build in init(), not boot() We now make sure the config module is init'ed first. --- build2/install/init.cxx | 4 +++- build2/install/init.hxx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'build2/install') diff --git a/build2/install/init.cxx b/build2/install/init.cxx index 3e4e1ff..0eb9521 100644 --- a/build2/install/init.cxx +++ b/build2/install/init.cxx @@ -128,7 +128,7 @@ namespace build2 void functions (); // functions.cxx - void + bool boot (scope& r, const location&, unique_ptr&) { tracer trace ("install::boot"); @@ -144,6 +144,8 @@ namespace build2 // r.operations.insert (install_id, op_install); r.operations.insert (uninstall_id, op_uninstall); + + return false; } static const path cmd ("install"); diff --git a/build2/install/init.hxx b/build2/install/init.hxx index 98b4205..6239916 100644 --- a/build2/install/init.hxx +++ b/build2/install/init.hxx @@ -14,7 +14,7 @@ namespace build2 { namespace install { - void + bool boot (scope&, const location&, unique_ptr&); bool -- cgit v1.1