diff --git a/update.sh b/update.sh index cc732cb51ce06a6d409096b99446bb0c36545088..331bda8a220b79196cbbffc5b909852e59e70199 100755 --- a/update.sh +++ b/update.sh @@ -219,6 +219,7 @@ fi versions=( "$@" ) for version in "${versions[@]}"; do + version="${version%/}" if [ "${version#*-}" = "ubi" ]; then ubi=-ubi version=${version%-ubi}