Resolve VERSION without '..'

This commit is contained in:
0x1eef 2024-04-19 04:56:39 -03:00
parent dd0e6c84d7
commit 94500c260c

View file

@ -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