build system: for "find", use POSIX not operator (!) instead of -not
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
0e3334c8d8
commit
29f3526048
@ -71,7 +71,7 @@ sed -n -e 's@^//usage:\([ '"$TAB"'].*\)$@\1 \\@p' \
|
|||||||
|
|
||||||
# (Re)generate */Kbuild and */Config.in
|
# (Re)generate */Kbuild and */Config.in
|
||||||
# We skip .dotdirs - makes git/svn/etc users happier
|
# 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
|
| while read -r d; do
|
||||||
d="${d#./}"
|
d="${d#./}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user