summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-19 19:35:39 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-19 19:35:39 +0000
commitb376ae8e9202fd6c73b8c8ef4f547c9ec1a33cd1 (patch)
tree44570b11b2fd9cabd3c77c5322f0b25326f25b32
parent020a8e3281b215a53363f3cdf8d349ff829b016b (diff)
downloadmidipix_build-b376ae8e9202fd6c73b8c8ef4f547c9ec1a33cd1.tar.bz2
midipix_build-b376ae8e9202fd6c73b8c8ef4f547c9ec1a33cd1.tar.xz
build.sh:buildp_dispatch(): fix ${PKGS_FOUND} variable name.
-rwxr-xr-xbuild.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index d8c6d9cf..2a6d25b0 100755
--- a/build.sh
+++ b/build.sh
@@ -4,7 +4,7 @@
buildp_dispatch() {
local _msg="${1}" _pkg_name="${2}" _tgt_name="${3}" \
- _build_tgt_meta="" _build_tgt_lc="" _build_tgts_lc=""_pkg_restart="" _pkgs_found="";
+ _build_tgt_meta="" _build_tgt_lc="" _build_tgts_lc=""_pkg_restart="" PKGS_FOUND;
case "${_msg}" in
# Top-level
start_build) shift; build_args "${@}"; build_init;
@@ -15,17 +15,18 @@ buildp_dispatch() {
if ! ex_rtl_lmatch "${ARG_DIST}" , rpm; then
_build_tgts_lc="$(ex_rtl_lfilter_not "${_build_tgts_lc}" "host_tools_rpm")";
fi;
+ PKGS_FOUND="";
for _build_tgt_lc in ${_build_tgts_lc}; do
ex_pkg_dispatch "${_build_tgt_lc}" \
"${ARG_RESTART}" "${ARG_RESTART_AT}" \
- buildp_dispatch _pkgs_found;
+ buildp_dispatch PKGS_FOUND;
if [ ${?} -ne 0 ]; then
break;
fi;
done;
for _pkg_restart in ${ARG_RESTART}; do
if ! ex_rtl_lmatch "ALL LAST" " " "${_pkg_restart}" \
- && ! ex_rtl_lmatch "${_pkgs_found}" " " "${_pkg_restart}"; then
+ && ! ex_rtl_lmatch "${PKGS_FOUND}" " " "${_pkg_restart}"; then
ex_rtl_log_msg failexit "Error: package \`${_pkg_restart}' unknown.";
fi;
done;