From 3a0917dc2e05e8c0a48b12adf19fa2ee9a4a91f8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 13 Jun 2018 10:52:04 +0200 Subject: Set BPKG_OPEN_CONFIG environment variable while configuration database is open --- bpkg/bpkg.cli | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bpkg/bpkg.cli') 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. -- cgit v1.1