mirror of https://github.com/marcosfad/mbp-ubuntu
Issue #109 Modified iso.sh to be executable not only with bash but also with sh
This commit is contained in:
parent
b2bf385096
commit
ddbcd8d69b
|
@ -82,7 +82,9 @@ case "$verinput" in
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
if [ ! -f ${iso}.z01 ]; then
|
||||||
echo -e "\nDownloading Part 1 for ${flavourcap} ${ver}"
|
echo -e "\nDownloading Part 1 for ${flavourcap} ${ver}"
|
||||||
|
|
Loading…
Reference in New Issue