[git commit] build system: for "find", use POSIX not operator (!) instead of -not

Denys Vlasenko vda.linux at googlemail.com
Sun Mar 16 11:05:58 UTC 2014


commit: http://git.busybox.net/busybox/commit/?id=29f352604868c5d17c81948ea30e332491cecada
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/gen_build_files.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/gen_build_files.sh b/scripts/gen_build_files.sh
index e8fa831..ebee17c 100755
--- a/scripts/gen_build_files.sh
+++ b/scripts/gen_build_files.sh
@@ -71,7 +71,7 @@ sed -n -e 's@^//usage:\([ '"$TAB"'].*\)$@\1 \\@p' \
 
 # (Re)generate */Kbuild and */Config.in
 # We skip .dotdirs - makes git/svn/etc users happier
-{ cd -- "$srctree" && find . -type d -not '(' -name '.?*' -prune ')'; } \
+{ cd -- "$srctree" && find . -type d ! '(' -name '.?*' -prune ')'; } \
 | while read -r d; do
 	d="${d#./}"
 


More information about the busybox-cvs mailing list