summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-16 18:41:13 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-19 10:31:19 +0000
commitb688b779ba20a4bec653808a42fe88cfac851029 (patch)
tree65a7641cc94fd2bb93cee6f879dd8d43d3d5dd97 /bin
parent6600552f80064d548fab86e2e18ca649c6dc3cf0 (diff)
keep environment clear of SYSTEM_FOO vars
those are only meant to be used by the build system (primarily RepositoryExternal.mk) - of course no rule without exception: concat-deps reads SYSTEM_BOOST from env, so set it in the corresponding recipe lines Change-Id: I83c88fc6ad4467b429771c43650fe7fc0ccde407 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144343 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/get_config_variables2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get_config_variables b/bin/get_config_variables
index aa8198a44f4f..7cc1e9325db4 100644
--- a/bin/get_config_variables
+++ b/bin/get_config_variables
@@ -18,7 +18,7 @@ test -n "$SED" && glv_sed="$SED" || glv_sed=$(command -v sed)
while [ -n "$1" ] ; do
glv_var="$1"
shift
- glv_value=$("${glv_grep}" "^ *export ${glv_var}=" ${glv_config} | "${glv_sed}" -e 's/[^=]*=//')
+ glv_value=$("${glv_grep}" "^ *\(export *\)\?${glv_var}=" ${glv_config} | "${glv_sed}" -e 's/[^=]*=//')
export ${glv_var}="${glv_value}"
done