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()
|
perform_update()
|
||||||
{
|
{
|
||||||
rev=$(cat "${revfile}")
|
rev=$(cat "${revfile}")
|
||||||
add=$(doas -u _portzap ${libexec}/git-changed-files "${gitdir}" "${rev}")
|
add=$(doas -u _portzap "${libexec}"/git-changed-files "${gitdir}" "${rev}")
|
||||||
del=$(doas -u _portzap ${libexec}/git-removed-files "${gitdir}" "${rev}")
|
del=$(doas -u _portzap "${libexec}"/git-removed-files "${gitdir}" "${rev}")
|
||||||
for file in ${del}; do
|
for file in ${del}; do
|
||||||
target="${installdir}/${file}"
|
target="${installdir}/${file}"
|
||||||
parent=$(dirname "${target}")
|
parent=$(dirname "${target}")
|
||||||
|
@ -61,4 +61,4 @@ if [ -e "${revfile}" ]; then
|
||||||
else
|
else
|
||||||
perform_install
|
perform_install
|
||||||
fi
|
fi
|
||||||
doas -u _portzap ${libexec}/git-rev "${gitdir}" > "${revfile}"
|
doas -u _portzap "${libexec}"/git-rev "${gitdir}" > "${revfile}"
|
||||||
|
|
Loading…
Reference in a new issue