diff --git a/Makefile b/Makefile index f4b76b0..c2d06f6 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,6 @@ deinstall: rm -rf $(SHAREDIR) shellcheck: - shellcheck bin/portzap + shellcheck bin/* shellcheck libexec/portzap/utils/* shellcheck libexec/portzap/commands/* diff --git a/bin/setup-portzap b/bin/setup-portzap index f4189a8..fcc08ba 100755 --- a/bin/setup-portzap +++ b/bin/setup-portzap @@ -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