OpenBSD compatibility

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Waldemar Brodkorb 2010-08-06 09:17:26 +02:00 committed by Denys Vlasenko
parent 6814cbc928
commit 95b83ba4f8
3 changed files with 16 additions and 10 deletions

View file

@ -48,7 +48,7 @@ if test x"$new" != x"$old"; then
fi
# (Re)generate */Kbuild and */Config.in
{ cd -- "$srctree" && find -type d; } | while read -r d; do
{ cd -- "$srctree" && find . -type d; } | while read -r d; do
d="${d#./}"
src="$srctree/$d/Kbuild.src"