From 9824707d743f003823d42283415184442604763a Mon Sep 17 00:00:00 2001
From: Daniel Black <daniel@mariadb.org>
Date: Mon, 4 Nov 2024 10:13:20 +1100
Subject: [PATCH] update.sh - handle trailing / in path

---
 update.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/update.sh b/update.sh
index cc732cb..331bda8 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}
-- 
GitLab