From e68aa41822f4625b92db1bdcc92a8a03b5c5312e Mon Sep 17 00:00:00 2001 From: Rick Timmis Date: Fri, 24 May 2024 20:02:17 +0100 Subject: [PATCH] Fix: Quote to protect from globbing / word splitting --- KubuQA.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KubuQA.sh b/KubuQA.sh index a42e10b..181e263 100755 --- a/KubuQA.sh +++ b/KubuQA.sh @@ -285,7 +285,7 @@ function choose_flavor() { esac # Extract ISO filename to Check / Update, and used by VBox manage to mount the ISO -ISO_FILENAME=$(echo $ISO_DOWNLOAD_URL | sed 's/^.*\///') +ISO_FILENAME=$(echo "$ISO_DOWNLOAD_URL" | sed 's/^.*\///') #Each Flavor should have it's own download directory ISO_DOWNLOAD_DIR="$ISO_DOWNLOAD_DIR/$FLAVOR"