Re: git: 5fb62f357fc9 - main - www/rubygem-passenger: update the list of files for removal

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Thu, 23 Dec 2021 11:40:35 UTC
On Wed, Dec 22, 2021 at 04:08:27AM +0000, Sergey A. Osokin wrote:
> -	${FIND} ${WRKSRC} -name '*.o' -delete
> -	${FIND} ${WRKSRC} -name '*.bak' -delete
> +	${FIND} ${WRKSRC} -name '*.o' -o -name '*.bak' -o -name '*.orig' | ${XARGS} ${RM}

What's wrong with `-delete`?

	${FIND} ${WRKSRC} ( -name '*.o' -o -name '*.bak' -o -name '*.orig' ) -delete

-- 
Mathieu Arnold