midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame subr/pkg_install_subdirs.subr

Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
#
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
# set -o errexit -o noglob are 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 (arab, vxp) ec19f0
	local _spec;
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	for _spec in "${PKG_INSTALL_FILES_DESTDIR}"		\
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
			"${PKG_INSTALL_FILES_DESTDIR_EXTRA}"; do
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
		ex_rtl_install "${PKG_DESTDIR}" ${_spec};
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 (arab, vxp) ec19f0
			"${PKG_DESTDIR}/${DEFAULT_TARGET}"	\
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
			${PKG_INSTALL_FILES_DESTDIR};
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