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