Commit a8f55618b2f221d5275a2aaafc5cb28f5917f32c

Authored by Antonio Terceiro
1 parent 57919730

Fixing makemo target

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/gettext.rake
@@ -7,7 +7,7 @@ require 'noosfero' @@ -7,7 +7,7 @@ require 'noosfero'
7 makemo_stamp = 'tmp/makemo.stamp' 7 makemo_stamp = 'tmp/makemo.stamp'
8 desc "Create mo-files for L10n" 8 desc "Create mo-files for L10n"
9 task :makemo => makemo_stamp 9 task :makemo => makemo_stamp
10 -file makemo_stamp do 10 +file makemo_stamp => Dir.glob('po/*/noosfero.po') do
11 ruby '-rconfig/boot -rgettext -rgettext/rails -rgettext/utils -e \'GetText.create_mofiles(true, "po", "locale")\' 2>/dev/null' 11 ruby '-rconfig/boot -rgettext -rgettext/rails -rgettext/utils -e \'GetText.create_mofiles(true, "po", "locale")\' 2>/dev/null'
12 FileUtils.touch makemo_stamp 12 FileUtils.touch makemo_stamp
13 end 13 end