Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_install_subdirs() {
	local _spec="";
	for _spec in "${PKG_INSTALL_FILES_DESTDIR}"		\
			"${PKG_INSTALL_FILES_DESTDIR_EXTRA}"; do
		ex_rtl_install "${PKG_DESTDIR}" ${_spec};
	done;
	if [ "${PKG_PREFIX%/}" = "${PREFIX_NATIVE%/}" ]; then
		ex_rtl_install					\
			"${PKG_DESTDIR}/${DEFAULT_TARGET}"	\
			${PKG_INSTALL_FILES_DESTDIR};
	fi;
};

# vim:filetype=sh