From 9dce363ae45c7a6030b666afaa361d061afbddfd Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Sun, 7 Apr 2024 19:01:11 +0530 Subject: [PATCH] Update iso.sh --- .github/workflows/iso.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/iso.sh b/.github/workflows/iso.sh index 67ba200..c7ab3ea 100644 --- a/.github/workflows/iso.sh +++ b/.github/workflows/iso.sh @@ -82,7 +82,9 @@ case "$verinput" in ;; esac -flavourcap=`echo ${flavour:0:1} | tr '[a-z]' '[A-Z]'`${flavour:1} +firstChar=$(echo "$flavour" | cut -c1 | tr '[a-z]' '[A-Z]') +restOfString=$(echo "$flavour" | cut -c2-) +flavourcap="${firstChar}${restOfString}" echo -e "\nDownloading ${flavourcap} ${ver}" echo -e "\nPart 1"