diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-14 14:49:28 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-14 14:49:28 +0000 |
commit | 0f39ce29b8e5756692be0a5f8293d22299c6128a (patch) | |
tree | 84c75b28c4ca489381f8948443a731616a9d6617 | |
parent | 23ed3daa3384322a3ce9cb5f7c7e9db5ae9d1df4 (diff) | |
download | midipix_build-0f39ce29b8e5756692be0a5f8293d22299c6128a.tar.bz2 midipix_build-0f39ce29b8e5756692be0a5f8293d22299c6128a.tar.xz |
subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_package(): correctly reference ${ARG_RESTART_RECURSIVE}.
-rw-r--r-- | subr/ex_pkg_dispatch.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/ex_pkg_dispatch.subr b/subr/ex_pkg_dispatch.subr index 3680b279..e2e7e1b0 100644 --- a/subr/ex_pkg_dispatch.subr +++ b/subr/ex_pkg_dispatch.subr @@ -49,7 +49,7 @@ exp_pkg_dispatch_package() { "${_dispatch_fn}" disabled_pkg "${_group_name}" "${_pkg_name}" "${_pkgs_count}" "${_pkgs_count_max}"; elif ex_pkg_state_test "${_pkg_name}" finish\ && [ -z "$(ex_rtl_lsearch "${_restart}" "${_pkg_name}")" ]\ - && [ "${ARG_RESTART_RECURSIVE}" -ne 2 ]; then + && [ "${ARG_RESTART_RECURSIVE:-0}" -ne 2 ]; then _pkgs_complete="${_pkgs_complete:+${_pkgs_complete} }${_pkg_name}"; _pkg_names="$(ex_rtl_lfilter "${_pkg_names}" "${_pkg_name}")"; : $((_pkgs_count+=1)); _rc=1; |