remove "local" bashism from a few scripts

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-01-24 20:52:42 +01:00
parent 89193f985b
commit bca4ea8b68
4 changed files with 15 additions and 15 deletions

View File

@@ -20,7 +20,9 @@ chk() { status "CHK" "$@"; }
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