Skip to content
Snippets Groups Projects
Commit c1fd2c41 authored by Daniel Black's avatar Daniel Black
Browse files

update.sh - handle trailing / in path

parent e4156145
Branches
No related tags found
No related merge requests found
......@@ -219,6 +219,7 @@ fi
versions=( "$@" )
for version in "${versions[@]}"; do
version="${version%/}"
if [ "${version#*-}" = "ubi" ]; then
ubi=-ubi
version=${version%-ubi}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment