Blame subr/pkg_install_subdirs.subr

Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
#
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_install_subdirs() {
Lucio Andrés Illanes Albornoz 907bd3
	local _spec="";
Lucio Andrés Illanes Albornoz 2b85d0
	for _spec in \
Lucio Andrés Illanes Albornoz 2b85d0
			"${PKG_INSTALL_FILES_DESTDIR}"		\
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
			"${PKG_INSTALL_FILES_DESTDIR_EXTRA}"; do
Lucio Andrés Illanes Albornoz 2b85d0
		ex_rtl_install "${PKG_DESTDIR}" ${_spec} || return "${?}";
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	done;
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	if [ "${PKG_PREFIX%/}" = "${PREFIX_NATIVE%/}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
		ex_rtl_install					\
Lucio Andrés Illanes Albornoz 2b85d0
			"${PKG_DESTDIR}/${DEFAULT_TARGET}" ${PKG_INSTALL_FILES_DESTDIR} || return "${?}";
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
};
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
# vim:filetype=sh