From 29f352604868c5d17c81948ea30e332491cecada Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 16 Mar 2014 12:05:58 +0100 Subject: build system: for "find", use POSIX not operator (!) instead of -not Signed-off-by: Denys Vlasenko --- scripts/gen_build_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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#./}" -- cgit v1.1