Resolve VERSION without '..'
This commit is contained in:
parent
dd0e6c84d7
commit
94500c260c
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ while [ "${i}" -le "$#" ]; do
|
||||||
eval "_portzap_option=\$${i}"
|
eval "_portzap_option=\$${i}"
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
if [ "${_portzap_option}" = "-v" ]; then
|
if [ "${_portzap_option}" = "-v" ]; then
|
||||||
cat "${localbase}"/../share/portzap/VERSION
|
cat "${localbase}"/share/portzap/VERSION
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
# shellcheck disable=SC2003
|
# shellcheck disable=SC2003
|
||||||
|
|
Loading…
Reference in a new issue