diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-24 20:52:42 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-24 20:52:42 +0100 |
commit | bca4ea8b68403e6f751341b82c65937f14590679 (patch) | |
tree | 21c637e653ceaa259599cecf8fb57a9de8ad6172 /scripts/gen_build_files.sh | |
parent | 89193f985bf50af702e0f98a3c86573277c03287 (diff) | |
download | busybox-w32-bca4ea8b68403e6f751341b82c65937f14590679.tar.gz busybox-w32-bca4ea8b68403e6f751341b82c65937f14590679.tar.bz2 busybox-w32-bca4ea8b68403e6f751341b82c65937f14590679.zip |
remove "local" bashism from a few scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/gen_build_files.sh')
-rwxr-xr-x | scripts/gen_build_files.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gen_build_files.sh b/scripts/gen_build_files.sh index ebee17c64..f79fa2f83 100755 --- a/scripts/gen_build_files.sh +++ b/scripts/gen_build_files.sh | |||
@@ -20,7 +20,9 @@ chk() { status "CHK" "$@"; } | |||
20 | generate() | 20 | generate() |
21 | { | 21 | { |
22 | # NB: data to be inserted at INSERT line is coming on stdin | 22 | # NB: data to be inserted at INSERT line is coming on stdin |
23 | local src="$1" dst="$2" header="$3" | 23 | src="$1" |
24 | dst="$2" | ||
25 | header="$3" | ||
24 | #chk "${dst}" | 26 | #chk "${dst}" |
25 | { | 27 | { |
26 | # Need to use printf: different shells have inconsistent | 28 | # Need to use printf: different shells have inconsistent |