[PATCH v2] Makefile: fix "make clean" for old GNU find

Artem Bityutskiy dedekind1 at gmail.com
Mon Mar 12 09:08:30 EDT 2012


On Fri, 2012-03-09 at 09:49 -0800, Brian Norris wrote:
> findutils v4.1.x does not have the `-exec CMD {} +' syntax. We can just as
> easily use the `-exec CMD {} \;' syntax. However, it will launch a lot more
> `rm' processes, so we only use it if the first form fails with an error.
> This isn't a perfect solution (`find -exec +' can fail for other reasons)
> but it works well enough.
> 
> This problem manifests itself in RHEL 4, findutils 4.1.20:

Pushed, thanks you!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list