Commit b7c3e625 authored by Carola Nitz's avatar Carola Nitz

DeployVLCKit: fix the TVVLCKit build by removing the :

: is only needed when passing an argument to the option preceding it.
In our case the version is not depending on the t option

(cherry picked from commit 6b303d08)
parent ff4289fe
......@@ -23,7 +23,7 @@ EOF
}
# Note: Need argument error handling on: version option, the options are ignored
while getopts "hdmt:" OPTION
while getopts "hdmt" OPTION
do
case $OPTION in
h)
......@@ -45,7 +45,7 @@ do
;;
esac
done
shift $((OPTIND-1))
shift "$((OPTIND-1))"
VERSION=$1
if [[ -z $VERSION ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment