Fix shellcheck

This commit is contained in:
0x1eef 2024-05-23 00:17:07 -03:00
parent 1eeea5ff23
commit ec7335aba5
5 changed files with 3 additions and 5 deletions

View file

@ -22,4 +22,5 @@ deinstall:
shellcheck:
shellcheck bin/portzap
shellcheck libexec/portzap/*
shellcheck libexec/portzap/utils/*
shellcheck libexec/portzap/commands/*

View file

@ -3,7 +3,6 @@ set -e
##
# variables
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
git=$(which git)
mode=u=rwX,g=rX,o=
gitdir=$1

View file

@ -3,7 +3,6 @@ set -e
##
# variables
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
git=$(which git)
mode=u=rwX,g=rX,o=
gitdir=$1

View file

@ -3,7 +3,6 @@ set -e
##
# variables
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)}
git=$(which git)
mode=u=rwX,g=rX,o=
gitdir=$1

View file

@ -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 "${?}"