diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-06 10:24:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-06 10:24:36 +0000 |
commit | 725ff27c37d7143e91d40c453e70c2db238112cd (patch) | |
tree | 110a615da13086d21cdec96214ef4f75078c54c5 | |
parent | 6a9e16dedaac625c20557e3c4b8cff04ccbf5b33 (diff) | |
download | redmine-725ff27c37d7143e91d40c453e70c2db238112cd.tar.gz redmine-725ff27c37d7143e91d40c453e70c2db238112cd.zip |
Typo in database rake task.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9339 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/tasks/ci.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 06d03ae73..05d369788 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -48,8 +48,8 @@ namespace :ci do test_conf = { 'adapter' => (RUBY_VERSION >= '1.9' ? 'mysql2' : 'mysql'), 'database' => test_db_name, 'host' => 'localhost', 'username' => 'jenkins', 'password' => 'jenkins', 'encoding' => 'utf8' } when 'postgresql' raise "Error creating databases" unless - system(%|psql -U jenkins -d postgres -c "create database #{dev_db_name} owner jenkins encoding 'UTF8';|) && - system(%|psql -U jenkins -d postgres -c "create database #{test_db_name} owner jenkins encoding 'UTF8';|) + system(%|psql -U jenkins -d postgres -c "create database #{dev_db_name} owner jenkins encoding 'UTF8';"|) && + system(%|psql -U jenkins -d postgres -c "create database #{test_db_name} owner jenkins encoding 'UTF8';"|) dev_conf = { 'adapter' => 'postgresql', 'database' => dev_db_name, 'host' => 'localhost', 'username' => 'jenkins', 'password' => 'jenkins' } test_conf = { 'adapter' => 'postgresql', 'database' => test_db_name, 'host' => 'localhost', 'username' => 'jenkins', 'password' => 'jenkins' } when 'sqlite3' |