summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_setup_env.subr3
1 files changed, 2 insertions, 1 deletions
diff --git a/subr/pkg_setup_env.subr b/subr/pkg_setup_env.subr
index 880aa80d..f8d720d7 100644
--- a/subr/pkg_setup_env.subr
+++ b/subr/pkg_setup_env.subr
@@ -50,7 +50,8 @@ pkg_setup_env() {
esac; ;;
esac;
fi;
- if [ -n "${PKG_ENV_VARS}" ]; then
+ if [ -n "${PKG_ENV_VARS}" ]\
+ && [ "${PKG_NO_LOG_VARS:-0}" -eq 0 ]; then
PKG_ENV_VARS="$(echo "${PKG_ENV_VARS}" | tr " " "\n" | sort | tr "\n" " ")";
log_env_vars "build" ${PKG_ENV_VARS};
fi;