From f4c3264f202c637cfd3bbe8d755219451934d5d3 Mon Sep 17 00:00:00 2001 From: Matthew Wagoner Date: Mon, 29 Oct 2012 08:17:29 -0400 Subject: [PATCH] Translation jobs should check for existing .po files This change adds a simple if/then statement to check for existing .po files before it extracts messages in propose_translation_update.sh and upstream_translation_update.sh Change-Id: I598bdef21f617207a19e6c5fc32924a6e544fc3b Reviewed-on: https://review.openstack.org/14958 Reviewed-by: Clark Boylan Reviewed-by: James E. Blair Approved: James E. Blair Tested-by: Jenkins --- .../files/slave_scripts/propose_translation_update.sh | 7 +++++-- .../files/slave_scripts/upstream_translation_update.sh | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/modules/jenkins/files/slave_scripts/propose_translation_update.sh b/modules/jenkins/files/slave_scripts/propose_translation_update.sh index ddda4d54df..9b473feb68 100755 --- a/modules/jenkins/files/slave_scripts/propose_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/propose_translation_update.sh @@ -35,8 +35,11 @@ tx set --auto-local -r ${PROJECT}.${PROJECT}-translations "${PROJECT}/locale/