[PATCH v2] Makefile: fix "make clean" for old GNU find
Mike Frysinger
vapier.adi at gmail.com
Fri Mar 9 16:14:59 EST 2012
On Fri, Mar 9, 2012 at 12:49, Brian Norris <computersforpeace at gmail.com> 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:
Acked-by: Mike Frysinger <vapier at gentoo.org>
-mike
More information about the linux-mtd
mailing list