diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-03-16 12:05:58 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-03-16 12:05:58 +0100 |
commit | 29f352604868c5d17c81948ea30e332491cecada (patch) | |
tree | 1bbbefea2a7c597220b4e6e8476cd0195337c660 | |
parent | 0e3334c8d8f021ed87d873ac95e165cde9da5e4d (diff) |
build system: for "find", use POSIX not operator (!) instead of -not
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | 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 e8fa831be..ebee17c64 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#./}" |