From 8fd81ac5aefd7e93599cd5acb7a8636bc6651724 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Mon, 15 Apr 2024 16:50:27 -0300 Subject: [PATCH] Fix shellcheck errors --- libexec/portzap/portzap-install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libexec/portzap/portzap-install b/libexec/portzap/portzap-install index e223754..6294739 100755 --- a/libexec/portzap/portzap-install +++ b/libexec/portzap/portzap-install @@ -14,8 +14,8 @@ mode="u=rwX,g=rwX,o=" perform_update() { rev=$(cat "${revfile}") - add=$(doas -u _portzap ${libexec}/git-changed-files "${gitdir}" "${rev}") - del=$(doas -u _portzap ${libexec}/git-removed-files "${gitdir}" "${rev}") + add=$(doas -u _portzap "${libexec}"/git-changed-files "${gitdir}" "${rev}") + del=$(doas -u _portzap "${libexec}"/git-removed-files "${gitdir}" "${rev}") for file in ${del}; do target="${installdir}/${file}" parent=$(dirname "${target}") @@ -61,4 +61,4 @@ if [ -e "${revfile}" ]; then else perform_install fi -doas -u _portzap ${libexec}/git-rev "${gitdir}" > "${revfile}" +doas -u _portzap "${libexec}"/git-rev "${gitdir}" > "${revfile}"