From 69e1a90abbf7d3a078c8f19667f940e67f539c7e Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Sun, 7 Apr 2013 20:35:43 -0700 Subject: [PATCH] Check find's output in Jenkins' translation scripts. * modules/jenkins/files/slave_scripts/propose_translation_update.sh: Instead of evaluating find's output in test treat finds output as a string and check if that string is null to determine if find found any .po files. This is a more reliable way to check for the presence of .po files as it does not result in confusing test. * modules/jenkins/files/slave_scripts/upstream_translation_update.sh: Instead of evaluating find's output in test treat finds output as a string and check if that string is null to determine if find found any .po files. This is a more reliable way to check for the presence of .po files as it does not result in confusing test. Change-Id: I53f7cc47e3762e4529eaf72f457852e650413b16 Reviewed-on: https://review.openstack.org/26346 Reviewed-by: James E. Blair Approved: James E. Blair Tested-by: Jenkins --- files/slave_scripts/propose_translation_update.sh | 3 ++- files/slave_scripts/upstream_translation_update.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/files/slave_scripts/propose_translation_update.sh b/files/slave_scripts/propose_translation_update.sh index a2f9356..d112af8 100755 --- a/files/slave_scripts/propose_translation_update.sh +++ b/files/slave_scripts/propose_translation_update.sh @@ -35,7 +35,8 @@ tx set --auto-local -r ${PROJECT}.${PROJECT}-translations "${PROJECT}/locale/