From 1f0386fc0aa609623b5458a45a10897b3bf55bec Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 11 Sep 2012 10:00:31 -0700 Subject: [PATCH] Use defaults with tx init to run noninteractively. tx init run without options expects one interactive value to be set. Specify this host value with a command line option so that tx init can run non interactively. Change-Id: Ifc90fdefc0089924ee769cc1dc5db16f9e6a8804 Reviewed-on: https://review.openstack.org/12803 Approved: Clark Boylan Reviewed-by: Clark Boylan Tested-by: Jenkins --- .../jenkins/files/slave_scripts/propose_translation_update.sh | 2 +- .../jenkins/files/slave_scripts/upstream_translation_update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/jenkins/files/slave_scripts/propose_translation_update.sh b/modules/jenkins/files/slave_scripts/propose_translation_update.sh index 6b6b9072dc..f60e518fa5 100755 --- a/modules/jenkins/files/slave_scripts/propose_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/propose_translation_update.sh @@ -14,7 +14,7 @@ if [ "x${previous}" != "x" ] ; then fi # initialize transifex client -tx init +tx init --host=https://www.transifex.com tx set --auto-local -r ${PROJECT}.${PROJECT}-translations "${PROJECT}/locale//LC_MESSAGES/${PROJECT}.po" --source-lang en --source-file ${PROJECT}/locale/${PROJECT}.pot --execute # Pull all upstream translations diff --git a/modules/jenkins/files/slave_scripts/upstream_translation_update.sh b/modules/jenkins/files/slave_scripts/upstream_translation_update.sh index 17a3df64f8..9904049291 100755 --- a/modules/jenkins/files/slave_scripts/upstream_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/upstream_translation_update.sh @@ -11,7 +11,7 @@ git config user.name "OpenStack Jenkins" git config user.email "jenkins@openstack.org" # initialize transifex client -tx init +tx init --host=https://www.transifex.com tx set --auto-local -r ${PROJECT}.${PROJECT}-translations "${PROJECT}/locale//LC_MESSAGES/${PROJECT}.po" --source-lang en --source-file ${PROJECT}/locale/${PROJECT}.pot --execute # Pull all upstream translations