midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_install_pre() {
	if [ "${PKG_NAME%flavour_minipix}" != "${PKG_NAME}" ]	\
	&& [ ${ARG_DEBUG_MINIPIX:-0} -eq 0 ]			\
	&& [ -e "${PREFIX_MINIPIX}" ]; then
		find "${PREFIX_MINIPIX}" -perm /a=x		\
			\( -type f -or -type l \) > "${WORKDIR}/.stat_minipix.old";
	elif [ "${BUILD}" = release ]				\
	&&   [ -e "${PREFIX_NATIVE}/bin" ]; then
		find "${PREFIX_NATIVE}/bin" -perm /a=x		\
			\( -type f -or -type l \) > "${WORKDIR}/.stat_native.old";
	fi;
};

# vim:filetype=sh