diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-13 10:52:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-13 10:52:04 +0200 |
commit | 3a0917dc2e05e8c0a48b12adf19fa2ee9a4a91f8 (patch) | |
tree | 1d1da7f089691a85c04b7e04851bedd3777bae53 /bpkg/bpkg.cli | |
parent | 0ab3ea2faee73f8ba3924e11c9c62d27b5bd75b8 (diff) |
Set BPKG_OPEN_CONFIG environment variable while configuration database is open
Diffstat (limited to 'bpkg/bpkg.cli')
-rw-r--r-- | bpkg/bpkg.cli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bpkg/bpkg.cli b/bpkg/bpkg.cli index 22898c1..33a8018 100644 --- a/bpkg/bpkg.cli +++ b/bpkg/bpkg.cli @@ -308,6 +308,14 @@ namespace bpkg bool --version; }; + "\h|ENVIRONMENT| + + Commands executed by \cb{bpkg} while the build configuration database is + open will have the \cb{BPKG_OPEN_CONFIG} environment variable set to the + absolute and normalized configuration directory path. This can be used by + build system hooks and/or programs that they execute. + " + "\h|EXIT STATUS| Non-zero exit status is returned in case of an error. |