aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gen_build_files.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gen_build_files.sh b/scripts/gen_build_files.sh
index 2baefa2ee..73c9916c7 100755
--- a/scripts/gen_build_files.sh
+++ b/scripts/gen_build_files.sh
@@ -7,7 +7,7 @@ cd -- "$2" || { echo "Syntax: $0 SRCTREE OBJTREE"; exit 1; }
7 7
8srctree="$1" 8srctree="$1"
9 9
10find -type d | while read; do 10find -type d | while read -r; do
11 d="$REPLY" 11 d="$REPLY"
12 12
13 src="$srctree/$d/Kbuild.src" 13 src="$srctree/$d/Kbuild.src"
@@ -17,7 +17,7 @@ find -type d | while read; do
17 17
18 s=`sed -n 's@^//kbuild:@@p' -- "$srctree/$d"/*.c` 18 s=`sed -n 's@^//kbuild:@@p' -- "$srctree/$d"/*.c`
19 echo "# DO NOT EDIT. This file is generated from Kbuild.src" >"$dst.$$.tmp" 19 echo "# DO NOT EDIT. This file is generated from Kbuild.src" >"$dst.$$.tmp"
20 while read; do 20 while read -r; do
21 test x"$REPLY" = x"INSERT" && REPLY="$s" 21 test x"$REPLY" = x"INSERT" && REPLY="$s"
22 printf "%s\n" "$REPLY" 22 printf "%s\n" "$REPLY"
23 done <"$src" >>"$dst.$$.tmp" 23 done <"$src" >>"$dst.$$.tmp"
@@ -37,7 +37,7 @@ find -type d | while read; do
37 37
38 s=`sed -n 's@^//config:@@p' -- "$srctree/$d"/*.c` 38 s=`sed -n 's@^//config:@@p' -- "$srctree/$d"/*.c`
39 echo "# DO NOT EDIT. This file is generated from Config.src" >"$dst.$$.tmp" 39 echo "# DO NOT EDIT. This file is generated from Config.src" >"$dst.$$.tmp"
40 while read; do 40 while read -r; do
41 test x"$REPLY" = x"INSERT" && REPLY="$s" 41 test x"$REPLY" = x"INSERT" && REPLY="$s"
42 printf "%s\n" "$REPLY" 42 printf "%s\n" "$REPLY"
43 done <"$src" >>"$dst.$$.tmp" 43 done <"$src" >>"$dst.$$.tmp"