From 94500c260c24fbb35c86e78defb0cb084d9e4a9a Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 19 Apr 2024 04:56:39 -0300 Subject: [PATCH] Resolve VERSION without '..' --- bin/portzap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/portzap b/bin/portzap index 36b9caf..2d9a5e5 100755 --- a/bin/portzap +++ b/bin/portzap @@ -45,7 +45,7 @@ while [ "${i}" -le "$#" ]; do eval "_portzap_option=\$${i}" # shellcheck disable=SC2154 if [ "${_portzap_option}" = "-v" ]; then - cat "${localbase}"/../share/portzap/VERSION + cat "${localbase}"/share/portzap/VERSION exit 0 fi # shellcheck disable=SC2003