Fix shellcheck (unused variable, false positives)
This commit is contained in:
parent
6ed089e6fb
commit
0a5f1cc6d6
5 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@ commit=$2
|
|||
# functions
|
||||
gitexec()
|
||||
{
|
||||
# shellcheck disable=SC2154
|
||||
doas -n -u _portzap \
|
||||
/bin/sh -c "umask ${mode}; ${git} ${1}"
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ commit=$2
|
|||
# functions
|
||||
gitexec()
|
||||
{
|
||||
# shellcheck disable=SC2154
|
||||
doas -n -u _portzap \
|
||||
/bin/sh -c "umask ${mode}; ${git} ${1}"
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ gitdir=$1
|
|||
# functions
|
||||
gitexec()
|
||||
{
|
||||
# shellcheck disable=SC2154
|
||||
doas -n -u _portzap \
|
||||
/bin/sh -c "umask ${mode}; ${git} ${1}"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
##
|
||||
# variables
|
||||
libexec=$(dirname "$0")
|
||||
gitdir=$1
|
||||
installdir=$2
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ git="${localbase}"/bin/git
|
|||
gitdir=$1
|
||||
branch=$2
|
||||
mode="u=rwX,g=rX,o="
|
||||
owner="_portzap:_portzap"
|
||||
|
||||
##
|
||||
# functions
|
||||
|
|
Loading…
Reference in a new issue