summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-12-08 21:26:15 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-12-08 21:26:15 +0100
commitea7997214af886326cc0494111fe98f888d93671 (patch)
treec0e8ee8742641a23315ff8d96a728e3b1a6adde6 /build.sh
parent48dbe5078b4e0b96b85d86a523e7729b0624878a (diff)
downloadmidipix_build-ea7997214af886326cc0494111fe98f888d93671.tar.bz2
midipix_build-ea7997214af886326cc0494111fe98f888d93671.tar.xz
build.sh, subr/pkg.subr: fix -r ALL.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index e9aacdf8..9bc1cf89 100755
--- a/build.sh
+++ b/build.sh
@@ -61,7 +61,8 @@ for BUILD_TARGET_LC in $(subst_tgts ${BUILD_TARGETS_META}); do
for BUILD_PACKAGE_LC in $(get_var_unsafe ${BUILD_TARGET}_PACKAGES); do
BUILD_PACKAGE=$(echo ${BUILD_PACKAGE_LC} | tr a-z A-Z);
if [ -n "${ARG_RESTART}" ]; then
- if ! match_list ${ARG_RESTART} , ${BUILD_PACKAGE_LC}; then
+ if [ "${ARG_RESTART}" != "ALL" ] &&\
+ ! match_list ${ARG_RESTART} , ${BUILD_PACKAGE_LC}; then
log_msg vnfo "Skipped \`${BUILD_PACKAGE_LC}' (-r specified.)";
: $((BUILD_NSKIP+=1)); BUILD_SCRIPT_RC=0; continue;
fi;