summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-29 01:24:42 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-29 01:24:42 +0000
commit2f75770abad7cdd1b3b23ad28dbc60292bd4d65b (patch)
tree870073bcaa20ba02e97efde51436429e7955705c /subr
parentdda17d403570f1e9dc96246ec8ab5b1a6ea09728 (diff)
downloadmidipix_build-2f75770abad7cdd1b3b23ad28dbc60292bd4d65b.tar.bz2
midipix_build-2f75770abad7cdd1b3b23ad28dbc60292bd4d65b.tar.xz
groups/dev_packages.group:${GROUP_AUTO}: set to 0.
subr/build_init.subr:buildp_init_vars(): don't include groups in ${_default_build_groups} if ${GROUP_AUTO} is set to 0.
Diffstat (limited to 'subr')
-rw-r--r--subr/build_init.subr9
1 files changed, 8 insertions, 1 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 321678a5..27af80da 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -212,7 +212,14 @@ buildp_init_vars() {
else
_fname="${_fname##*/}"; _fname="${_fname%.group}"; _target="${_fname#*.}";
fi;
- _default_build_groups="$(rtl_lconcat "${_default_build_groups}" "${_target}")";
+ if [ -n "${GROUP_AUTO}" ]; then
+ if [ "${GROUP_AUTO:-0}" -ne 0 ]; then
+ _default_build_groups="$(rtl_lconcat "${_default_build_groups}" "${_target}")";
+ fi;
+ unset GROUP_AUTO;
+ else
+ _default_build_groups="$(rtl_lconcat "${_default_build_groups}" "${_target}")";
+ fi;
done;
_default_build_groups="$(rtl_uniq "${_default_build_groups}")";
if ! rtl_lmatch "${ARG_DIST}" "rpm" ","; then