diff --git a/update.sh b/update.sh index cc732cb5..331bda8a 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}