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

fix version parameter

parent 35fe2285
Branches
Tags v1.1.0
No related merge requests found
Pipeline #58844 passed
...@@ -158,7 +158,7 @@ while true; do ...@@ -158,7 +158,7 @@ while true; do
CHECK='CHECK' CHECK='CHECK'
;; ;;
--version) --version)
PROG_VERSION='PROG_VERSION' PARAM_VERSION='PARAM_VERSION'
;; ;;
--) --)
shift shift
...@@ -169,7 +169,7 @@ while true; do ...@@ -169,7 +169,7 @@ while true; do
done done
# print version buildtime and say goodbye # 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}" echo "$(basename $0) version $PROG_VERSION built on ${BUILD_TIME}"
clean_up 0 clean_up 0
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment