Shellcheck complains that 'local' is not defined by POSIX shell, regardless it is defined and documented by sh(1) on HardenedBSD
This commit is contained in:
parent
aaa7dad708
commit
7961a66d4f
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ revfile="${installdir}"/.portzap
|
|||
|
||||
require_dependency()
|
||||
{
|
||||
# shellcheck disable=SC3043
|
||||
local dep
|
||||
for i in $(seq 1 ${#}); do
|
||||
eval "dep=\$${i}"
|
||||
|
|
Loading…
Reference in a new issue