summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenys Vlasenko2014-03-16 12:05:58 +0100
committerDenys Vlasenko2014-03-16 12:05:58 +0100
commit29f352604868c5d17c81948ea30e332491cecada (patch)
tree1bbbefea2a7c597220b4e6e8476cd0195337c660 /scripts
parent0e3334c8d8f021ed87d873ac95e165cde9da5e4d (diff)
downloadbusybox-29f352604868c5d17c81948ea30e332491cecada.zip
busybox-29f352604868c5d17c81948ea30e332491cecada.tar.gz
build system: for "find", use POSIX not operator (!) instead of -not
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_build_files.sh2
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#./}"