Fix shellcheck error

This commit is contained in:
0x1eef 2024-05-23 00:41:21 -03:00
parent 9f8afa04d5
commit f3c9cec057
2 changed files with 2 additions and 2 deletions

View file

@ -21,6 +21,6 @@ deinstall:
rm -rf $(SHAREDIR)
shellcheck:
shellcheck bin/portzap
shellcheck bin/*
shellcheck libexec/portzap/utils/*
shellcheck libexec/portzap/commands/*

View file

@ -3,7 +3,7 @@ set -e
##
# variables
localbase="${LOCALBASE:-$(realpath $(dirname $0)/..)}"
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/..)}
libexec="${localbase}"/libexec/portzap
conf=$(cat "${localbase}"/share/portzap/doas.conf)
doas="${localbase}"/etc/doas.conf