summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_pkg_dispatch.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-03 16:47:31 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-03 16:47:31 +0000
commit8227a8007a09ebb8a8780a79e15846c535de5397 (patch)
treeedd8d768fc02fc895a7c1cf6fadc7dec6a20c648 /subr/ex_pkg_dispatch.subr
parent92aaa1790d68caaca4387a835bd5143b100d42fb (diff)
downloadmidipix_build-8227a8007a09ebb8a8780a79e15846c535de5397.tar.bz2
midipix_build-8227a8007a09ebb8a8780a79e15846c535de5397.tar.xz
etc/build.usage: update.
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): reimplement -r ALL.
Diffstat (limited to 'subr/ex_pkg_dispatch.subr')
-rw-r--r--subr/ex_pkg_dispatch.subr3
1 files changed, 2 insertions, 1 deletions
diff --git a/subr/ex_pkg_dispatch.subr b/subr/ex_pkg_dispatch.subr
index 90a23717..ad41616c 100644
--- a/subr/ex_pkg_dispatch.subr
+++ b/subr/ex_pkg_dispatch.subr
@@ -12,7 +12,8 @@ ex_pkg_dispatch() {
_tgt_name_uc="$(ex_rtl_toupper "${_tgt_name}")";
"${_dispatch_fn}" start_target "" "${_tgt_name}";
_pkg_names="$(ex_rtl_get_var_unsafe ${_tgt_name_uc}_PACKAGES)";
- if [ -n "${_restart}" ]; then
+ if [ -n "${_restart}" ]\
+ && [ "${_restart}" != ALL ]; then
_pkg_names="$(ex_rtl_lfilter "${_pkg_names}" "${_restart}")";
fi;
for _pkg_name in ${_pkg_names}; do