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}"