binutils-gdb/gdb/contrib
Lancelot SIX efe1ecd834 gdb-add-index.sh: Remove use of non posix 'local'
While working on gdb-add-index.sh, it appeared that it uses the non
POSIX 'local' keyword.  Instead of using local to allow variable
shadowing, I rename the local one to avoid name conflicts altogether.

This commit gets rid of the following shellcheck warning:

    In gdb-add-index.sh line 63:
        local file="$1"
        ^--------^ SC2039: In POSIX sh, 'local' is undefined.

gdb/ChangeLog:

	* contrib/gdb-add-index.sh: Avoid variable shadowing and get
	rid of 'local'.
2021-03-26 23:42:33 +00:00
..
ari Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cc-with-tweaks.sh Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
expect-read1.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
expect-read1.sh Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb-add-index.sh gdb-add-index.sh: Remove use of non posix 'local' 2021-03-26 23:42:33 +00:00
test_pubnames_and_indexes.py Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
words.sh Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00