aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bash/init.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-01-27 09:07:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-01-27 09:07:09 +0200
commit2169f0e960c6e2b94518c03e6eb0406908b96e65 (patch)
tree73cfda5d0c7aa38c74104cca89931045db37892e /libbuild2/bash/init.cxx
parent1abc10223b37d9ead3454a06e176b4b65370a2be (diff)
Improve module loading API
Diffstat (limited to 'libbuild2/bash/init.cxx')
-rw-r--r--libbuild2/bash/init.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/bash/init.cxx b/libbuild2/bash/init.cxx
index 65d9d0f..dc1f8f6 100644
--- a/libbuild2/bash/init.cxx
+++ b/libbuild2/bash/init.cxx
@@ -37,8 +37,7 @@ namespace build2
// Load in.base (in.* variables, in{} target type).
//
- if (!cast_false<bool> (rs["in.base.loaded"]))
- load_module (rs, rs, "in.base", l);
+ load_module (rs, rs, "in.base", l);
bool install_loaded (cast_false<bool> (rs["install.loaded"]));