Fix shellcheck errors
This commit is contained in:
parent
786c0d86ff
commit
8fd81ac5ae
1 changed files with 3 additions and 3 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue