[pacman-dev] [PATCH] makepkg: Fix the check for references to srcdir/pkgdir in BSDs
Allan McRae
allan at archlinux.org
Wed Feb 2 00:44:27 EST 2011
On 02/02/11 03:02, Nezmer wrote:
> At least in FreeBSD, find always returns 0 If It finds stuff
> (imagine that). It doesn't care about the exit status of whatever is
> passed to -exec.
>
> This patch makes the checks compatible with this behaviour.
>
> Using xargs and not using grep directly because packages with too many
> files would cause grep to complain about argument list being too long.
>
> This should also fix the false positive in packages with no files.
>
> Signed-off-by: Nezmer<git at nezmer.info>
> ---
Signed-off-by: Allan
More information about the pacman-dev
mailing list