diff --git a/src/freedombone-template b/src/freedombone-template index ca3b2f3c..97486253 100755 --- a/src/freedombone-template +++ b/src/freedombone-template @@ -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