Blob Blame History Raw
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_nasm_host_install_make_post() {
	local _fname="";
	for _fname in bin/nasm bin/ndisasm share/man/man1/nasm.1 share/man/man1/ndisasm.1; do
		if ! rtl_fileop mv "${PKG_DESTDIR}/${_fname}" "${PKG_DESTDIR}/${_fname%/*}/${PKG_TARGET}-${_fname##*/}"; then
			return 1;
		fi;
	done;
};

# vim:filetype=sh textwidth=0