Unbreak translation proposals

The whole script is run with "-e", disable exit on error during the
read. Otherwise the script will fail directly.

Change-Id: I24e16eea58d1c5a7bec3e630b72306a5a32418a4
This commit is contained in:
Andreas Jaeger 2014-10-21 09:11:15 +02:00
parent 0e0335195c
commit 66a995645a

@ -136,13 +136,14 @@ function setup_git {
# COMMIT_MSG.
function setup_review {
FULL_PROJECT=$(grep project .gitreview | cut -f2 -d= |sed -e 's/\.git$//')
set +e
read -d '' COMMIT_MSG <<EOF
Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
EOF
set -e
git review -s
# See if there is an open change in the transifex/translations