From 6a5b202d01dc683daf937e2e261cbc84359aec69 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 30 Dec 2008 20:21:42 -0300 Subject: [PATCH] ActionItem862: fix to the ecosol upgrade scripts --- script/apply-template | 2 +- script/release-v0.13.0-ecosol | 2 ++ script/test-0.13 | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/script/apply-template b/script/apply-template index bcb6ca3..f3764ba 100755 --- a/script/apply-template +++ b/script/apply-template @@ -55,7 +55,7 @@ when 'community' offset = 0 while community = Community.find(:first, :order => :id, :offset => offset) if community != template && !excluded.include?(community.identifier) - report_doing offset, profile.name + report_doing offset, community.name community.apply_template(template) move_articles_to_blog(community) report_done diff --git a/script/release-v0.13.0-ecosol b/script/release-v0.13.0-ecosol index b7664e5..8069cbc 100755 --- a/script/release-v0.13.0-ecosol +++ b/script/release-v0.13.0-ecosol @@ -1,5 +1,7 @@ #!/bin/sh +set -e + if [ -x $RAILS_ENV ]; then export RAILS_ENV=production fi diff --git a/script/test-0.13 b/script/test-0.13 index 6e4f7a6..2ef0b69 100755 --- a/script/test-0.13 +++ b/script/test-0.13 @@ -1,5 +1,7 @@ #!/bin/sh +set -e + rm -f db/*.db find public/images/[0-9]* -name \*big\* -delete rake db:schema:load -- libgit2 0.21.2