From 7961a66d4f1ee0c18f0b25bc300845a4cf13173d Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 20 Aug 2024 00:42:40 -0300 Subject: [PATCH] Fix shellcheck warning Shellcheck complains that 'local' is not defined by POSIX shell, regardless it is defined and documented by sh(1) on HardenedBSD --- bin/portzap | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/portzap b/bin/portzap index 2ccf1d9..8416dc7 100755 --- a/bin/portzap +++ b/bin/portzap @@ -18,6 +18,7 @@ revfile="${installdir}"/.portzap require_dependency() { + # shellcheck disable=SC3043 local dep for i in $(seq 1 ${#}); do eval "dep=\$${i}"