ref: refs/heads/backgroud_patches_bnc550934
commit 8f9ca6645ecd396502287b6cf7b856928f9135e9
Author: Stefan Schubert
Date: Mon Nov 23 08:59:50 2009 +0100
cleanup
---
Rakefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Rakefile b/Rakefile
index a1b8f72..2a4665c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -10,10 +10,8 @@ task :default => :test
desc "Run #{task_name} task for all projects"
task task_name do
- if task_name == "fetch_po"
- #remove translation statistik
- File.delete(File.join("pot", "translation_status.yaml")) if File.exist?("pot/translation_status.yaml")
- end
+ #remove translation statistik
+ File.delete(File.join("pot", "translation_status.yaml")) if task_name == "fetch_po" && File.exist?("pot/translation_status.yaml")
PROJECTS.each do |project|
system %(cd #{project} && #{env} #{$0} #{task_name})
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org