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 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 c6d6e0
		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 c6d6e0
		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