2 Feb
2011
2 Feb
'11
7:44 a.m.
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@nezmer.info> ---
Signed-off-by: Allan