From d2d149131da4bc238270b854b8c0bd833ce63651 Mon Sep 17 00:00:00 2001 From: Anon Ray Date: Thu, 23 May 2013 19:34:07 +0530 Subject: [PATCH] Fix whitespace problems in long strings Line breaks were not properly handled in the strings. Fix them. --- new_project.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/new_project.sh b/new_project.sh index 319f90a..6c88bce 100755 --- a/new_project.sh +++ b/new_project.sh @@ -16,7 +16,7 @@ readConfig() { configFile='trac.config' if [ ! -e $configFile ]; then - echo "$configFile does not exist. Make sure you have a config file in the + echo "$configFile does not exist. Make sure you have a config file in the \ same path." exit 1; elif [ ! -r $configFile ]; then @@ -34,16 +34,16 @@ readConfig() { createDB() { echo "Creating DB trac_$project for $project" - /usr/bin/mysql -u $ruser -p$rpassword -e "create database trac_$project default - character set utf8 collate utf8_bin;grant all privileges on trac_$project.* to - '$tuser'@'localhost' identified by '$tpassword';" + /usr/bin/mysql -u $ruser -p$rpassword -e "create database trac_$project \ + default character set utf8 collate utf8_bin;grant all privileges on \ + trac_$project.* to '$tuser'@'localhost' identified by '$tpassword';" } initTracEnv() { echo "Initing Env: $project" - /usr/local/bin/trac-admin $trac_project$project initenv "\"$project\"" - "mysql://$tuser:$tpassword@localhost:3306/trac_$project" "git" - "/vol/www/gitorious/repositories/" + /usr/local/bin/trac-admin $trac_project$project initenv "$project" \ + "mysql://$tuser:$tpassword@localhost:3306/trac_$project" "git" \ + "/vol/www/gitorious/repositories/$project" } deployTracEnv() { -- 1.7.10.4