summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-14 14:32:26 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-14 14:32:26 +0000
commit64e5893f142c75912beafe39715da53647dd2ee4 (patch)
tree78cbbdde98371f6d58e1ef406e9b99c0dc6de3aa /build.sh
parent7f17bb6c4d94b00e724fa8672da50cd33d6d6c91 (diff)
downloadmidipix_build-64e5893f142c75912beafe39715da53647dd2ee4.tar.bz2
midipix_build-64e5893f142c75912beafe39715da53647dd2ee4.tar.xz
Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index e9651025..c22ff945 100755
--- a/build.sh
+++ b/build.sh
@@ -15,6 +15,10 @@ buildp_dispatch() {
&& [ "${ARG_RESTART}" != ALL ]; then
_build_tgt_pkg_names="";
for _build_tgt_lc in ${BUILD_TARGETS:-${TARGETS_DEFAULT}}; do
+ if [ "${_build_tgt_lc}" = "host_tools_rpm" ] \
+ && [ "${ARG_RPM:-0}" -eq 0 ]; then
+ continue;
+ fi;
_build_tgt_uc="$(ex_rtl_toupper "${_build_tgt_lc}")";
_build_tgt_pkg_names="${_build_tgt_pkg_names:+${_build_tgt_pkg_names} }$(ex_rtl_get_var_unsafe ${_build_tgt_uc}_PACKAGES)";
done;
@@ -24,6 +28,10 @@ buildp_dispatch() {
fi;
fi;
for _build_tgt_lc in ${BUILD_TARGETS:-${TARGETS_DEFAULT}}; do
+ if [ "${_build_tgt_lc}" = "host_tools_rpm" ] \
+ && [ "${ARG_RPM}" -eq 0 ]; then
+ continue;
+ fi;
ex_pkg_dispatch "${_build_tgt_lc}" \
"${ARG_RESTART}" "${ARG_RESTART_AT}" \
buildp_dispatch;