diff options
Diffstat (limited to 'subr')
-rw-r--r-- | subr/build_init.subr | 9 |
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 |