re #1: Project definition now starting with capital letter (file and class).

This commit is contained in:
Heiko Seeberger 2011-02-14 11:33:54 -08:00 committed by Paul Phillips
parent dc7b0285cc
commit 91f89bb873
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ if [ -z "$PROJECT" ]; then
fi
DIR=$(echo ${PROJECT} | tr '[A-Z]' '[a-z]')
PROJECT_CLASS=$(echo $PROJECT | sed -e 's/[^a-zA-Z_]//g;')Project
PROJECT_UC=$(echo ${PROJECT:0:1} | tr '[a-z]' '[A-Z]')${PROJECT:1}
PROJECT_CLASS=$(echo $PROJECT_UC | sed -e 's/[^a-zA-Z_]//g;')Project
mkdir $DIR
cd $DIR