Skip to content
Snippets Groups Projects
Unverified Commit 82cb7321 authored by Max Adamo's avatar Max Adamo
Browse files

fix version parameter

parent 35fe2285
No related branches found
No related tags found
No related merge requests found
Pipeline #58844 passed
......@@ -158,7 +158,7 @@ while true; do
CHECK='CHECK'
;;
--version)
PROG_VERSION='PROG_VERSION'
PARAM_VERSION='PARAM_VERSION'
;;
--)
shift
......@@ -169,7 +169,7 @@ while true; do
done
# print version buildtime and say goodbye
if [[ -n $PROG_VERSION ]]; then
if [[ -n $PARAM_VERSION ]]; then
echo "$(basename $0) version $PROG_VERSION built on ${BUILD_TIME}"
clean_up 0
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment