moved set -e after executable checking with which as old position off set -e stopped the script at this point without any error message

This commit is contained in:
Andreas Schubert 2016-02-19 15:16:04 +01:00
Родитель ae2304f23f
Коммит 12f2525d4f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -13,8 +13,6 @@
# @copyright 2012-2015 Thomas Müller thomas.mueller@tmit.eu
#
set -e
#$EXECUTOR_NUMBER is set by Jenkins and allows us to run autotest in parallel
DATABASENAME=oc_autotest$EXECUTOR_NUMBER
DATABASEUSER=oc_autotest$EXECUTOR_NUMBER
@ -34,6 +32,8 @@ fi
PHP=$(which "$PHP_EXE")
PHPUNIT=$(which phpunit)
set -e
_XDEBUG_CONFIG=$XDEBUG_CONFIG
unset XDEBUG_CONFIG