Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame subr/ex_pkg_dispatch.subr

Lucio Andrés Illanes Albornoz (arab, vxp) 1da591
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 1da591
#
Lucio Andrés Illanes Albornoz (arab, vxp) 1da591
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz c6d6e0
# exp_pkg_dispatch_complete() - XXX
Lucio Andrés Illanes Albornoz c6d6e0
# @_dispatch_fn:	top-level dispatch function name
Lucio Andrés Illanes Albornoz c6d6e0
# @_group_names:	build group name(s)
Lucio Andrés Illanes Albornoz c6d6e0
# @_pkg_disabled:	list of disabled packages
Lucio Andrés Illanes Albornoz c6d6e0
# @_pkg_finished:	list of finished packages
Lucio Andrés Illanes Albornoz c6d6e0
#
Lucio Andrés Illanes Albornoz c6d6e0
# Return:		zero (0) on success, non-zero (>0) on failure.
Lucio Andrés Illanes Albornoz c6d6e0
#
Lucio Andrés Illanes Albornoz c6d6e0
exp_pkg_dispatch_complete() {
Lucio Andrés Illanes Albornoz c6d6e0
	local _dispatch_fn="${1}" _group_name="${2}" _pkg_disabled="${3}" _pkg_finished="${4}" _pkg_name="";
Lucio Andrés Illanes Albornoz c6d6e0
	for _pkg_name in ${_pkg_disabled}; do
Lucio Andrés Illanes Albornoz c6d6e0
		"${_dispatch_fn}" disabled_pkg "${_group_name}" "${_pkg_name}";
Lucio Andrés Illanes Albornoz c6d6e0
	done;
Lucio Andrés Illanes Albornoz c6d6e0
	for _pkg_name in ${_pkg_finished}; do
Lucio Andrés Illanes Albornoz c6d6e0
		"${_dispatch_fn}" skipped_pkg "${_group_name}" "${_pkg_name}";
Lucio Andrés Illanes Albornoz c6d6e0
	done;
Lucio Andrés Illanes Albornoz c6d6e0
};
Lucio Andrés Illanes Albornoz c6d6e0
Lucio Andrés Illanes Albornoz c6d6e0
#
Lucio Andrés Illanes Albornoz c6d6e0
# exp_pkg_dispatch_group() - dispatch a single build group
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_steps_default:	list of default build steps
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_vars_default:		list of default build variables
Lucio Andrés Illanes Albornoz c6d6e0
# @_dispatch_fn:		top-level dispatch function name
Lucio Andrés Illanes Albornoz c6d6e0
# @_group_name:			build group name
Lucio Andrés Illanes Albornoz c6d6e0
# @_njobs_max:			maximum count of simultaneous jobs
Lucio Andrés Illanes Albornoz c6d6e0
# @_pipe_path:			pathname to build FIFO
Lucio Andrés Illanes Albornoz c6d6e0
# @_restart_at:			optional comma-separated list of build steps at which to rebuild or ALL
Lucio Andrés Illanes Albornoz 7bed88
# @_restart_recursive:		optional flag specifiying either no dependency expansion (0,) dependency expansion (1,) dependency expansion and forcibly rebuild (2,) forcibly rebuild reverse dependencies (3.)
Lucio Andrés Illanes Albornoz c6d6e0
# @_workdir:			pathname to build-specific temporary directory
Lucio Andrés Illanes Albornoz c6d6e0
#
Lucio Andrés Illanes Albornoz c6d6e0
# Return:			zero (0) on success, non-zero (>0) on failure.
Lucio Andrés Illanes Albornoz c6d6e0
#
Lucio Andrés Illanes Albornoz c6d6e0
exp_pkg_dispatch_group() {
Lucio Andrés Illanes Albornoz c6d6e0
	local	_build_steps_default="${1}" _build_vars_default="${2}" _dispatch_fn="${3}"	\
Lucio Andrés Illanes Albornoz c6d6e0
		_group_name="${4}" _njobs_max="${5}" _pipe_path="${6}" _restart_at="${7}"	\
Lucio Andrés Illanes Albornoz c6d6e0
		_restart_recursive="${8}" _workdir="${9}" _pipe_msg="" _pkg_name="" _rc=0;
Lucio Andrés Illanes Albornoz c6d6e0
	rtl_fileop mkfifo "${_pipe_path}";
Lucio Andrés Illanes Albornoz c6d6e0
	while true; do
Lucio Andrés Illanes Albornoz c6d6e0
		while [ "${EXP_PKG_DISPATCH_NJOBS:-0}" -gt 0 ] && read _pipe_msg; do
Lucio Andrés Illanes Albornoz c6d6e0
		case "${_pipe_msg%% *}" in
Lucio Andrés Illanes Albornoz c6d6e0
		done)	: $((EXP_PKG_DISPATCH_NJOBS-=1)); _pkg_name="${_pipe_msg#done * }";
Lucio Andrés Illanes Albornoz c6d6e0
			"${_dispatch_fn}" finish_pkg ${_pipe_msg#done };
Lucio Andrés Illanes Albornoz c6d6e0
			EXP_PKG_COMPLETE="$(rtl_lconcat "${EXP_PKG_COMPLETE}" "${_pkg_name}")";
Lucio Andrés Illanes Albornoz c6d6e0
			EXP_PKG_NAMES="$(rtl_lfilter "${EXP_PKG_NAMES}" "${_pkg_name}")";
Lucio Andrés Illanes Albornoz 725770
			EX_PKG_DISPATCH_WAIT="$(rtl_lfilter "${EX_PKG_DISPATCH_WAIT}" "${_pkg_name}")";
Lucio Andrés Illanes Albornoz c6d6e0
			if [ -n "${EXP_PKG_NAMES}" ] && [ "${_rc}" -eq 0 ]; then
Lucio Andrés Illanes Albornoz c6d6e0
				if [ "${EXP_PKG_DISPATCH_NJOBS}" -ne "${_njobs_max}" ]; then
Lucio Andrés Illanes Albornoz c6d6e0
					exp_pkg_dispatch_packages "${_build_steps_default}"	\
Lucio Andrés Illanes Albornoz c6d6e0
						"${_build_vars_default}" "${_dispatch_fn}"	\
Lucio Andrés Illanes Albornoz c6d6e0
						"${_group_name}" "${_njobs_max}"		\
Lucio Andrés Illanes Albornoz c6d6e0
						"${_pipe_path}" "${EXP_PKG_COMPLETE}"		\
Lucio Andrés Illanes Albornoz c6d6e0
						"${_restart_at}" "${_restart_recursive}" "${_workdir}";
Lucio Andrés Illanes Albornoz c6d6e0
				fi;
Lucio Andrés Illanes Albornoz c6d6e0
			elif [ "${EXP_PKG_DISPATCH_NJOBS:-0}" -eq 0 ]; then
Lucio Andrés Illanes Albornoz c6d6e0
				break;
Lucio Andrés Illanes Albornoz c6d6e0
			fi; ;;
Lucio Andrés Illanes Albornoz c6d6e0
		fail)	: $((EXP_PKG_DISPATCH_NJOBS-=1)); _rc=1;
Lucio Andrés Illanes Albornoz c6d6e0
			"${_dispatch_fn}" fail_pkg ${_pipe_msg#fail }; ;;
Lucio Andrés Illanes Albornoz 2960a4
		msg_pkg)
Lucio Andrés Illanes Albornoz 2960a4
			"${_dispatch_fn}" msg_pkg ${_pipe_msg#msg_pkg }; ;;
Lucio Andrés Illanes Albornoz c6d6e0
		step)	"${_dispatch_fn}" step_pkg ${_pipe_msg#step }; ;;
Lucio Andrés Illanes Albornoz c6d6e0
		esac; done <>"${_pipe_path}";
Lucio Andrés Illanes Albornoz c6d6e0
		if [ -n "${EXP_PKG_NAMES}" ] && [ "${_rc}" -eq 0 ]; then
Lucio Andrés Illanes Albornoz c6d6e0
			if [ "${EXP_PKG_DISPATCH_NJOBS}" -ne "${_njobs_max}" ]; then
Lucio Andrés Illanes Albornoz c6d6e0
				exp_pkg_dispatch_packages "${_build_steps_default}"		\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_build_vars_default}" "${_dispatch_fn}"		\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_group_name}" "${_njobs_max}" "${_pipe_path}"	\
Lucio Andrés Illanes Albornoz c6d6e0
					"${EXP_PKG_COMPLETE}" "${_restart_at}"			\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_restart_recursive}" "${_workdir}";
Lucio Andrés Illanes Albornoz e310d7
			fi;
Lucio Andrés Illanes Albornoz c6d6e0
		elif [ "${EXP_PKG_DISPATCH_NJOBS:-0}" -eq 0 ]; then
Lucio Andrés Illanes Albornoz c6d6e0
			break;
Lucio Andrés Illanes Albornoz c6d6e0
		fi;
Lucio Andrés Illanes Albornoz c6d6e0
	done;
Lucio Andrés Illanes Albornoz c6d6e0
	rtl_fileop rm "${_pipe_path}";
Lucio Andrés Illanes Albornoz c6d6e0
	return "${_rc}";
Lucio Andrés Illanes Albornoz 8a04de
};
Lucio Andrés Illanes Albornoz 8a04de
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz 2b85d0
# exp_pkg_dispatch_package() - dispatch single named packages
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_steps_default:	list of default build steps
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_vars_default:		list of default build variables
Lucio Andrés Illanes Albornoz c6d6e0
# @_dispatch_fn:		top-level dispatch function name
Lucio Andrés Illanes Albornoz c6d6e0
# @_group_name:			build group name
Lucio Andrés Illanes Albornoz c6d6e0
# @_pkg_name:			single package name
Lucio Andrés Illanes Albornoz c6d6e0
# @_restart_at:			optional comma-separated list of build steps at which to rebuild or ALL
Lucio Andrés Illanes Albornoz c6d6e0
# @_workdir:			pathname to build-specific temporary directory
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz 725770
# Return:			zero (0) on success, non-zero (>0) on failure, ${EXP_PKG_DISPATCH_NJOBS}, ${EXP_PKG_DISPATCH_COUNT}, ${EXP_PKG_NAMES}, and ${EX_PKG_DISPATCH_WAIT} may be mutated post-return.
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz 8a04de
exp_pkg_dispatch_package() {
Lucio Andrés Illanes Albornoz c6d6e0
	local	_build_steps_default="${1}" _build_vars_default="${2}" _dispatch_fn="${3}"	\
Lucio Andrés Illanes Albornoz c6d6e0
		_group_name="${4}" _pkg_name="${5}" _restart_at="${6}" _workdir="${7}";
Lucio Andrés Illanes Albornoz c6d6e0
	if "${_dispatch_fn}" start_pkg "${_group_name}" "${_pkg_name}" "$((${EXP_PKG_DISPATCH_COUNT}+1))" "${EXP_PKG_DISPATCH_COUNT_MAX}"; then
Lucio Andrés Illanes Albornoz 725770
		: $((EXP_PKG_DISPATCH_NJOBS+=1)); : $((EXP_PKG_DISPATCH_COUNT+=1)); EX_PKG_DISPATCH_WAIT="$(rtl_lconcat "${EX_PKG_DISPATCH_WAIT}" "${_pkg_name}")";
Lucio Andrés Illanes Albornoz 2b85d0
		(set +o errexit -o noglob; BUILD_IS_PARENT=0;
Lucio Andrés Illanes Albornoz bf9edf
		if ex_pkg_env "${_build_steps_default}" "${_build_vars_default}"		\
Lucio Andrés Illanes Albornoz c6d6e0
				"${_group_name}" "${_pkg_name}" "${_restart_at}" "${_workdir}"; then
Lucio Andrés Illanes Albornoz 2b85d0
			ex_pkg_exec "${_dispatch_fn}" "${_group_name}" "${_pkg_name}" "${_restart_at}";
Lucio Andrés Illanes Albornoz 2b85d0
		else
Lucio Andrés Illanes Albornoz bf9edf
			return 1;
Lucio Andrés Illanes Albornoz c6d6e0
		fi;) 1>"${_workdir}/${_pkg_name}_stderrout.log" 2>&1 3>"${_pipe_path}" &
Lucio Andrés Illanes Albornoz (arab, vxp) 7a258a
	else
Lucio Andrés Illanes Albornoz bf9edf
		return 1;
Lucio Andrés Illanes Albornoz (arab, vxp) 7a258a
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 7a258a
};
Lucio Andrés Illanes Albornoz (arab, vxp) 7a258a
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz 2b85d0
# exp_pkg_dispatch_packages() - dispatch set of packages
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_steps_default:	list of default build steps
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_vars_default:		list of default build variables
Lucio Andrés Illanes Albornoz c6d6e0
# @_dispatch_fn:		top-level dispatch function name
Lucio Andrés Illanes Albornoz c6d6e0
# @_group_name:			build group name
Lucio Andrés Illanes Albornoz c6d6e0
# @_njobs_max:			maximum count of simultaneous jobs
Lucio Andrés Illanes Albornoz c6d6e0
# @_pipe_path:			pathname to parent-child process FIFO
Lucio Andrés Illanes Albornoz c6d6e0
# @_pkg_complete:		list of completed packages
Lucio Andrés Illanes Albornoz c6d6e0
# @_restart_at:			optional comma-separated list of build steps at which to rebuild or ALL
Lucio Andrés Illanes Albornoz 7bed88
# @_restart_recursive:		optional flag specifiying either no dependency expansion (0,) dependency expansion (1,) dependency expansion and forcibly rebuild (2,) forcibly rebuild reverse dependencies (3.)
Lucio Andrés Illanes Albornoz c6d6e0
# @_workdir:			pathname to build-specific temporary directory
Lucio Andrés Illanes Albornoz c6d6e0
#
Lucio Andrés Illanes Albornoz 725770
# Return:			zero (0) on success, non-zero (>0) on failure, ${EXP_PKG_DISPATCH_NJOBS}, ${EXP_PKG_DISPATCH_COUNT}, ${EXP_PKG_NAMES}, and ${EX_PKG_DISPATCH_WAIT} may be mutated post-return.
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz 2b85d0
exp_pkg_dispatch_packages() {
Lucio Andrés Illanes Albornoz c6d6e0
	local	_build_steps_default="${1}" _build_vars_default="${2}" _dispatch_fn="${3}"		\
Lucio Andrés Illanes Albornoz c6d6e0
		_group_name="${4}" _njobs_max="${5}" _pipe_path="${6}" _pkg_complete="${7}"		\
Lucio Andrés Illanes Albornoz c6d6e0
		_restart_at="${8}" _restart_recursive="${9}" _workdir="${10}"				\
Lucio Andrés Illanes Albornoz 2b85d0
		_njob=0 _pkg_depends="" _pkg_name="";
Lucio Andrés Illanes Albornoz c6d6e0
	for _njob in $(seq 1 $((${_njobs_max}-${EXP_PKG_DISPATCH_NJOBS}))); do
Lucio Andrés Illanes Albornoz c6d6e0
		for _pkg_name in ${EXP_PKG_NAMES}; do
Lucio Andrés Illanes Albornoz c6d6e0
			if ! rtl_lmatch "${_pkg_complete}" "${_pkg_name}"\
Lucio Andrés Illanes Albornoz 725770
			&& ! rtl_lmatch "${EX_PKG_DISPATCH_WAIT}" "${_pkg_name}"\
Lucio Andrés Illanes Albornoz 725770
			&& ex_pkg_check_depends "${_pkg_complete}" "${_pkg_name}" "${EX_PKG_DISPATCH_WAIT}" "${_restart_recursive}"; then
Lucio Andrés Illanes Albornoz c6d6e0
				exp_pkg_dispatch_package "${_build_steps_default}"			\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_build_vars_default}" "${_dispatch_fn}"			\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_group_name}" "${_pkg_name}" "${_restart_at}"		\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_workdir}"; break;
Lucio Andrés Illanes Albornoz 2b85d0
			fi;
Lucio Andrés Illanes Albornoz 2b85d0
		done;
Lucio Andrés Illanes Albornoz 2b85d0
	done;
Lucio Andrés Illanes Albornoz 2b85d0
};
Lucio Andrés Illanes Albornoz 2b85d0
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz c6d6e0
# ex_pkg_dispatch() - dispatch a set of build group
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_steps_default:	list of default build steps
Lucio Andrés Illanes Albornoz c6d6e0
# @_build_vars_default:		list of default build variables
Lucio Andrés Illanes Albornoz c6d6e0
# @_dispatch_fn:		top-level dispatch function name
Lucio Andrés Illanes Albornoz c6d6e0
# @_group_names:		build group name(s)
Lucio Andrés Illanes Albornoz 487c40
# @_groups_inhibit_deps:	inhibit group-group dependency expansion
Lucio Andrés Illanes Albornoz c6d6e0
# @_njobs_max:			maximum count of simultaneous jobs
Lucio Andrés Illanes Albornoz c6d6e0
# @_pipe_path:			pathname to build FIFO
Lucio Andrés Illanes Albornoz 221ee9
# @_restart:			optional whitespace-separated list of package names to rebuild
Lucio Andrés Illanes Albornoz c6d6e0
# @_restart_at:			optional comma-separated list of build steps at which to rebuild or ALL
Lucio Andrés Illanes Albornoz c6d6e0
# @_restart_recursive:		optional flag specifiying either no dependency expansion (0,) dependency expansion (1,) dependency expansion and forcibly rebuild (2.)
Lucio Andrés Illanes Albornoz c6d6e0
# @_workdir:			pathname to build-specific temporary directory
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz 725770
# Return:			zero (0) on success, non-zero (>0) on failure, ${EX_PKG_DISPATCH_UNKNOWN} and ${EX_PKG_DISPATCH_WAIT} mutated post-return.
Lucio Andrés Illanes Albornoz 2b85d0
#
Lucio Andrés Illanes Albornoz c6d6e0
ex_pkg_dispatch() {
Lucio Andrés Illanes Albornoz c6d6e0
	local	_build_steps_default="${1}" _build_vars_default="${2}" _dispatch_fn="${3}"		\
Lucio Andrés Illanes Albornoz 487c40
		_group_names="${4}" _groups_inhibit_deps="${5}" _njobs_max="${6}" _pipe_path="${7}"	\
Lucio Andrés Illanes Albornoz 487c40
		_restart="${8}" _restart_at="${9}" _restart_recursive="${10}" _workdir="${11}"		\
Lucio Andrés Illanes Albornoz c6d6e0
		_pkg_name="" _pkg_names="" _rc=0							\
Lucio Andrés Illanes Albornoz c6d6e0
		EXP_PKG_COMPLETE EXP_PKG_DISABLED EXP_PKG_FINISHED EXP_PKG_DISPATCH_COUNT		\
Lucio Andrés Illanes Albornoz 725770
		EXP_PKG_DISPATCH_COUNT_MAX EXP_PKG_DISPATCH_NJOBS EXP_PKG_NAMES;
Lucio Andrés Illanes Albornoz 221ee9
	EX_PKG_DISPATCH_WAIT="";
Lucio Andrés Illanes Albornoz 487c40
	if [ "${_groups_inhibit_deps:-0}" -eq 0 ]; then
Lucio Andrés Illanes Albornoz 487c40
		_group_names="$(rtl_uniq $(rtl_lunfold_depends '${_name}_GROUP_DEPENDS' ${_group_names}))";
Lucio Andrés Illanes Albornoz 487c40
	fi;
Lucio Andrés Illanes Albornoz 487c40
	for _group_name in ${_group_names}; do
Lucio Andrés Illanes Albornoz c6d6e0
		EXP_PKG_COMPLETE="" EXP_PKG_DISABLED="" EXP_PKG_FINISHED="";
Lucio Andrés Illanes Albornoz c6d6e0
		EXP_PKG_DISPATCH_COUNT=0 EXP_PKG_DISPATCH_COUNT_MAX=0 EXP_PKG_DISPATCH_NJOBS=0;
Lucio Andrés Illanes Albornoz 725770
		EXP_PKG_NAMES="" EX_PKG_DISPATCH_WAIT="";
Lucio Andrés Illanes Albornoz c6d6e0
		if "${_dispatch_fn}" start_group "${_group_name}" ""; then
Lucio Andrés Illanes Albornoz c6d6e0
			if rtl_fileop mkdir "${_workdir}"\
Lucio Andrés Illanes Albornoz c6d6e0
			&& rtl_log_msg vnfo "Resolving \`${_group_name}' dependencies..."\
Lucio Andrés Illanes Albornoz c6d6e0
			&& ex_pkg_expand_packages "${_group_name}" "${_restart}" "${_restart_recursive}"\
Lucio Andrés Illanes Albornoz c6d6e0
			&& exp_pkg_dispatch_complete "${_dispatch_fn}" "${_group_name}" "${EXP_PKG_DISABLED}" "${EXP_PKG_FINISHED}"\
Lucio Andrés Illanes Albornoz c6d6e0
			&& rtl_log_msg vnfo "Resolved \`${_group_name}' dependencies."\
Lucio Andrés Illanes Albornoz c6d6e0
			&& EXP_PKG_DISPATCH_COUNT_MAX="$(rtl_llength "${EXP_PKG_NAMES}")"\
Lucio Andrés Illanes Albornoz c6d6e0
			&& [ "${EXP_PKG_DISPATCH_COUNT_MAX}" -gt 0 ]; then
Lucio Andrés Illanes Albornoz c6d6e0
				_pkg_names="$(rtl_lconcat "${_pkg_names}" "${EXP_PKG_NAMES}")";
Lucio Andrés Illanes Albornoz c6d6e0
				exp_pkg_dispatch_group "${_build_steps_default}"			\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_build_vars_default}" "${_dispatch_fn}" "${_group_name}"	\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_njobs_max}" "${_pipe_path}" "${_restart_at}"		\
Lucio Andrés Illanes Albornoz c6d6e0
					"${_restart_recursive}" "${_workdir}"; _rc="${?}";
Lucio Andrés Illanes Albornoz c6d6e0
			fi;
Lucio Andrés Illanes Albornoz c6d6e0
			"${_dispatch_fn}" finish_group "${_group_name}" "";
Lucio Andrés Illanes Albornoz c6d6e0
			if [ "${_rc}" -ne 0 ]; then
Lucio Andrés Illanes Albornoz c6d6e0
				break;
Lucio Andrés Illanes Albornoz c6d6e0
			fi;
Lucio Andrés Illanes Albornoz 2b85d0
		fi;
Lucio Andrés Illanes Albornoz c6d6e0
	done;
Lucio Andrés Illanes Albornoz c6d6e0
	if ! rtl_lmatch "${_restart}" "ALL LAST"; then
Lucio Andrés Illanes Albornoz c6d6e0
		for _pkg_name in ${_restart}; do
Lucio Andrés Illanes Albornoz 221ee9
			if ! rtl_lmatch "${_pkg_names}" "${_pkg_name}"; then
Lucio Andrés Illanes Albornoz c6d6e0
				EX_PKG_DISPATCH_UNKNOWN="$(rtl_lconcat "${EX_PKG_DISPATCH_UNKNOWN}" "${_pkg_name}")";
Lucio Andrés Illanes Albornoz 2b85d0
			fi;
Lucio Andrés Illanes Albornoz 2b85d0
		done;
Lucio Andrés Illanes Albornoz e310d7
	fi;
Lucio Andrés Illanes Albornoz c6d6e0
	if [ -n "${EX_PKG_DISPATCH_UNKNOWN}" ]; then
Lucio Andrés Illanes Albornoz c6d6e0
		_rc=1;
Lucio Andrés Illanes Albornoz 00c762
	fi;
Lucio Andrés Illanes Albornoz c6d6e0
	return "${_rc}";
Lucio Andrés Illanes Albornoz (arab, vxp) 1da591
};
Lucio Andrés Illanes Albornoz (arab, vxp) 1da591
Lucio Andrés Illanes Albornoz 2b85d0
# vim:filetype=sh textwidth=0