From f86b005cd5004a496cb31139756554beb6e00c02 Mon Sep 17 00:00:00 2001
From: Andreas Jaeger <aj@suse.de>
Date: Fri, 21 Mar 2014 15:52:43 +0100
Subject: [PATCH] Another fix for upstream_translation_horizon.sh

There was an extra closing bracked "]" that breaks the script.

Hope this finally gets the job running again.

Change-Id: Ib9721e312aa9a678fe483d6cbb1fb910be1c1659
---
 .../jenkins/files/slave_scripts/upstream_translation_horizon.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/jenkins/files/slave_scripts/upstream_translation_horizon.sh b/modules/jenkins/files/slave_scripts/upstream_translation_horizon.sh
index 360f088e0d..983594bb2a 100755
--- a/modules/jenkins/files/slave_scripts/upstream_translation_horizon.sh
+++ b/modules/jenkins/files/slave_scripts/upstream_translation_horizon.sh
@@ -51,7 +51,7 @@ tx set --auto-local -r ${PROJECT}.openstack-dashboard-translations \
 git add ${PROJECT}/locale/en/LC_MESSAGES/*
 git add openstack_dashboard/locale/en/LC_MESSAGES/*
 
-if [ `git diff --cached | egrep -v "(POT-Creation-Date|^[\+\-]#|^\+{3}|^\-{3})" | egrep -c "^[\-\+]"` -gt 0 ] ]
+if [ `git diff --cached | egrep -v "(POT-Creation-Date|^[\+\-]#|^\+{3}|^\-{3})" | egrep -c "^[\-\+]"` -gt 0 ]
 then
     # Push source file changes to transifex
     tx --debug --traceback push -s