summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-29 16:52:25 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-29 16:52:25 +0100
commit18351a81c3c24a32525f54eac4e2bb75c361b42d (patch)
tree6e456e6a1b47befff64f63c619a6f3c45aedfc79
parente74ac04cf82b1a9db13f3db9dae95f6425a01f54 (diff)
downloadmidipix_build-18351a81c3c24a32525f54eac4e2bb75c361b42d.tar.bz2
midipix_build-18351a81c3c24a32525f54eac4e2bb75c361b42d.tar.xz
subr/ex_pkg_env.subr:exp_pkg_env_set(): additionally set from package name prefix plus {debug,release} build.
-rw-r--r--subr/ex_pkg_env.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/ex_pkg_env.subr b/subr/ex_pkg_env.subr
index 3526f378..2e4615a3 100644
--- a/subr/ex_pkg_env.subr
+++ b/subr/ex_pkg_env.subr
@@ -66,11 +66,11 @@ exp_pkg_env_set() {
if [ -n "${PKG_INHERIT_FROM:-}" ]; then
rtl_set_vars _vars_set "${_vname}" \
"$(rtl_lconcat "${_var_prefixes}" \
- "$(rtl_toupper "PKG_${PKG_INHERIT_FROM} PKG_${_pkg_name}")")"
+ "$(rtl_toupper "PKG_${PKG_INHERIT_FROM} PKG_${PKG_INHERIT_FROM}_${BUILD} PKG_${_pkg_name} PKG_${_pkg_name}_${BUILD}")")";
else
rtl_set_vars _vars_set "${_vname}" \
"$(rtl_lconcat "${_var_prefixes}" \
- "$(rtl_toupper "PKG_${_pkg_name}")")";
+ "$(rtl_toupper "PKG_${_pkg_name} PKG_${_pkg_name}_${BUILD}")")";
fi;
done;
IFS0="${IFS:- }"; IFS=":"; for _vname in ${PKG_ENV_VARS_EXTRA:-}; do