# HG changeset patch # User Rob Landley # Date 1407285164 18000 # Node ID 8059cfd67acd4f3074536db8b440eb2568212087 # Parent 88aaf45c7fbba66f1c6e86697e3526b97d20422d Building busybox from source needs find -not (a synonym for posix's "!"). diff -r 88aaf45c7fbb -r 8059cfd67acd toys/posix/find.c --- a/toys/posix/find.c Tue Aug 05 19:27:02 2014 -0500 +++ b/toys/posix/find.c Tue Aug 05 19:32:44 2014 -0500 @@ -251,7 +251,8 @@ if (!test) test = 1; else active = 0; // decision has been made until next ")" } - + } else if (!strcmp(s, "not")) { + if (check) not = !not; // Mostly ignore NOP argument } else if (!strcmp(s, "a") || !strcmp(s, "and")) { if (not) goto error;