[PATCH] Adding -N option to the patch applet

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Aug 19 17:51:11 UTC 2009


On Wed, Aug 19, 2009 at 05:55:07PM +0200, Olivier Duclos wrote:
>Hi,
>
>This is my first contribution to Busybox. Be gentle.
>
>I have a lot of scripts that use things like 'patch -Np1 < file.patch' which doesn't work with busybox. Yet the N option is quite easy to implement. So I made a patch a patch to patch patch :D
>
>Tell me what you think.

you don't need opt_N, just check for opt & 8 there.


More information about the busybox mailing list