From f3c9cec057a11a1d88671becd9d1e5f8194e64b3 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 23 May 2024 00:41:21 -0300 Subject: [PATCH] Fix shellcheck error --- Makefile | 2 +- bin/setup-portzap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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