Skip to content

Commit

Permalink
update.sh - handle trailing / in path
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Nov 4, 2024
1 parent e415614 commit c1fd2c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ fi
versions=( "$@" )

for version in "${versions[@]}"; do
version="${version%/}"
if [ "${version#*-}" = "ubi" ]; then
ubi=-ubi
version=${version%-ubi}
Expand Down

0 comments on commit c1fd2c4

Please sign in to comment.