Skip to content

Commit

Permalink
Update iso.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored Apr 7, 2024
1 parent a55ef30 commit 9dce363
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9dce363

Please sign in to comment.