translations: Fix error abort

Query correct variable ERROR_ABORT instead of completely unused variable
ERRORS - so that errors get reported.

Change-Id: I81eaaf23440131a2d8f796fe4a30033e9d68cdff
This commit is contained in:
Andreas Jaeger 2016-06-14 21:18:28 +02:00
parent ac85f8603d
commit e8ca28a847

View File

@ -63,7 +63,7 @@ function finish {
# Only run this if VENV is setup.
if [ "$VENV" != "" ] ; then
if [[ "$ERRORS" -eq 1 ]] ; then
if [[ "$ERROR_ABORT" -eq 1 ]] ; then
$VENV/bin/generate-subunit $TRANS_START_TIME $SECONDS \
'fail' $JOBNAME >> $SUBUNIT_OUTPUT