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) rm -rf $(SHAREDIR)
shellcheck: shellcheck:
shellcheck bin/portzap shellcheck bin/*
shellcheck libexec/portzap/utils/* shellcheck libexec/portzap/utils/*
shellcheck libexec/portzap/commands/* shellcheck libexec/portzap/commands/*

View file

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