Fix shellcheck
This commit is contained in:
parent
1eeea5ff23
commit
ec7335aba5
5 changed files with 3 additions and 5 deletions
3
Makefile
3
Makefile
|
@ -22,4 +22,5 @@ deinstall:
|
|||
|
||||
shellcheck:
|
||||
shellcheck bin/portzap
|
||||
shellcheck libexec/portzap/*
|
||||
shellcheck libexec/portzap/utils/*
|
||||
shellcheck libexec/portzap/commands/*
|
||||
|
|
|
@ -3,7 +3,6 @@ set -e
|
|||
|
||||
##
|
||||
# variables
|
||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
|
||||
git=$(which git)
|
||||
mode=u=rwX,g=rX,o=
|
||||
gitdir=$1
|
||||
|
|
|
@ -3,7 +3,6 @@ set -e
|
|||
|
||||
##
|
||||
# variables
|
||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
|
||||
git=$(which git)
|
||||
mode=u=rwX,g=rX,o=
|
||||
gitdir=$1
|
||||
|
|
|
@ -3,7 +3,6 @@ set -e
|
|||
|
||||
##
|
||||
# variables
|
||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
|
||||
git=$(which git)
|
||||
mode=u=rwX,g=rX,o=
|
||||
gitdir=$1
|
||||
|
|
|
@ -5,5 +5,5 @@ set -e
|
|||
# main
|
||||
group="_portzap"
|
||||
mygroups=$(id -Gn | tr ' ' '\n')
|
||||
anymatch=$(echo "${mygroups}" | grep -e "^${group}$")
|
||||
echo "${mygroups}" | grep -e "^${group}$"
|
||||
exit "${?}"
|
||||
|
|
Loading…
Reference in a new issue