Skip to content

Commit c1fd2c4

Browse files
committed
update.sh - handle trailing / in path
1 parent e415614 commit c1fd2c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

update.sh

+1
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ fi
219219
versions=( "$@" )
220220

221221
for version in "${versions[@]}"; do
222+
version="${version%/}"
222223
if [ "${version#*-}" = "ubi" ]; then
223224
ubi=-ubi
224225
version=${version%-ubi}

0 commit comments

Comments
 (0)