diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-04 16:04:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-04 16:04:39 +0200 |
commit | 759e714238438cccf74f035e1ba11c925b27cd55 (patch) | |
tree | 36683f9df793d0100f49189dad9cabf09be78d89 /build2/install | |
parent | b1ef30736694f644e2e473429257a18b64a7615c (diff) |
Load config.build in init(), not boot()
We now make sure the config module is init'ed first.
Diffstat (limited to 'build2/install')
-rw-r--r-- | build2/install/init.cxx | 4 | ||||
-rw-r--r-- | build2/install/init.hxx | 2 |
2 files changed, 4 insertions, 2 deletions
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<module_base>&) { 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<module_base>&); bool |