summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-11-28 17:38:10 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-11-28 17:38:10 +0100
commitf792efb961278f78d23353cdf4eba8fa0d7b3907 (patch)
treee47957872bd0191c4e588397e6a9a9bb76bbdab8 /subr
parent9829160a8b61e79299f5c41f0c8049b9569b0b86 (diff)
downloadmidipix_build-f792efb961278f78d23353cdf4eba8fa0d7b3907.tar.bz2
midipix_build-f792efb961278f78d23353cdf4eba8fa0d7b3907.tar.xz
subr/build_init.subr:buildp_init_args(): lconcat minipix if zipdist is present but minipix isn't (via sskras.)
Diffstat (limited to 'subr')
-rw-r--r--subr/build_init.subr4
1 files changed, 4 insertions, 0 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 335a80f9..71e57e44 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -47,6 +47,10 @@ buildp_init_args() {
fi;
fi;
if [ "${_rc:-0}" -eq 0 ]; then
+ if rtl_lmatch "${ARG_DIST}" "zipdist" ","\
+ && ! rtl_lmatch "${ARG_DIST}" "minipix" ","; then
+ ARG_DIST="$(rtl_lconcat "${ARG_DIST}" "minipix" ",")";
+ fi;
if [ "${ARG_DIST:+1}" = 1 ]; then
BUILD_GROUPS="$(rtl_lconcat "$(rtl_lfilter "${BUILD_GROUPS}" "dist")" "dist")";
fi;