diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-24 16:13:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:35 +0200 |
commit | 2c0a2b0d688b4450c72cde12ecedaa3fc3c9662a (patch) | |
tree | e03e6145b24446e916ed77a5ce2b790bcdf8dd39 /build2/b.cxx | |
parent | 83c28bc98a3cb439c3dbb3824f4ede4eb14798a3 (diff) |
Add build.driver variable with build system driver path (argv[0])
Diffstat (limited to 'build2/b.cxx')
-rw-r--r-- | build2/b.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/b.cxx b/build2/b.cxx index d800605..a652c97 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -161,7 +161,8 @@ main (int argc, char* argv[]) // Global initializations. // - init (ops.verbose_specified () + init (argv[0], + ops.verbose_specified () ? ops.verbose () : ops.V () ? 3 : ops.v () ? 2 : ops.q () ? 0 : 1); |