Conversion to upper case

This commit is contained in:
Bob Mottram 2018-02-06 20:12:03 +00:00
parent 666c2b1cb5
commit 4e963d5106
1 changed files with 5 additions and 4 deletions

View File

@ -31,9 +31,10 @@
PROJECT_NAME='freedombone'
app_name='noapp'
app_name_lower="$(tr '[:upper:]' '[:lower:]' <<< ${app_name:0:1})${app_name:1}"
app_name_lower=$(echo ${app_name} | tr '[:upper:]' '[:lower:]')
app_name=$app_name_lower
app_name_upper="$(tr '[:lower:]' '[:upper:]' <<< ${app_name:0:1})${app_name:1}"
app_name_upper=$(echo ${app_name} | tr '[:lower:]' '[:upper:]')
echo "test: $app_name_upper"
app_repo="TODO"
app_repo_commit='TODO'
app_php=
@ -82,9 +83,9 @@ do
-a|--app|--appname)
shift
app_name="$1"
app_name_lower="$(tr '[:upper:]' '[:lower:]' <<< ${app_name:0:1})${app_name:1}"
app_name_lower=$(echo ${app_name} | tr '[:upper:]' '[:lower:]')
app_name=$app_name_lower
app_name_upper="$(tr '[:lower:]' '[:upper:]' <<< ${app_name:0:1})${app_name:1}"
app_name_upper=$(echo ${app_name} | tr '[:lower:]' '[:upper:]')
;;
-r|--repo)
shift