Skip to content

Commit

Permalink
Issue #109 Modified iso.sh to be executable not only with bash but al…
Browse files Browse the repository at this point in the history
…so with sh
  • Loading branch information
dfaw20 authored and AdityaGarg8 committed Apr 7, 2024
1 parent b2bf385 commit 364e1a0
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}"

if [ ! -f ${iso}.z01 ]; then
echo -e "\nDownloading Part 1 for ${flavourcap} ${ver}"
Expand Down

0 comments on commit 364e1a0

Please sign in to comment.