Fix shellcheck warning
Some checks are pending
portzap / shellcheck (push) Waiting to run

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:
0x1eef 2024-08-20 00:42:40 -03:00
parent aaa7dad708
commit 7961a66d4f

View file

@ -18,6 +18,7 @@ revfile="${installdir}"/.portzap
require_dependency()
{
# shellcheck disable=SC3043
local dep
for i in $(seq 1 ${#}); do
eval "dep=\$${i}"