generate()
{
# NB: data to be inserted at INSERT line is coming on stdin
- local src="$1" dst="$2" header="$3"
+ src="$1"
+ dst="$2"
+ header="$3"
#chk "${dst}"
{
# Need to use printf: different shells have inconsistent
# (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#./}"