Resubmitted.
Xabier Oneca -- xOneca wrote:
Hello Daniel,
Use "find \!" instead of "find -not" in build scripts.
Is the escape needed for exclamation character when in a script? It's
fine, but you can save the backslash.
Cheers,
Xabier Oneca_,,_
-dborca
Signed-off-by: Daniel Borca <[email protected]>
---
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 0989b2f..6fc27fb 100755
--- a/scripts/gen_build_files.sh
+++ b/scripts/gen_build_files.sh
@@ -61,7 +61,7 @@ sed -n -e 's@^//usage:\([ \t].*\)$@\1 \\@p' -e
's@^//usage:\([^ \t].*\)$@\n\1 \\
# (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#./}"
--
1.7.4.4
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox