From 417bdacde8153c9cadd5b5efa72097d2a4907b2a Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Mon, 24 Jun 2024 10:19:29 +0800 Subject: [PATCH] Update correct image --- hack/correct-image.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hack/correct-image.sh b/hack/correct-image.sh index 75d1bfd..7416940 100755 --- a/hack/correct-image.sh +++ b/hack/correct-image.sh @@ -3,8 +3,9 @@ function guess_image() { local image="${1}" - image="${image# }" - image="${image% }" + image="${image// /}" + image="${image#\/}" + image="${image%\/}" if [[ -z "${image}" ]]; then return