Fix return code handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3571355eb5
commit
7ec58479f9
|
@ -1,10 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
RESULT=0
|
||||
|
||||
bash ./build/autoloaderchecker.sh
|
||||
RESULT=$(($RESULT+$?))
|
||||
bash ./build/mergejschecker.sh
|
||||
RESULT=$(($RESULT+$?))
|
||||
php ./build/translation-checker.php
|
||||
RESULT=$(($RESULT+$?))
|
||||
php ./build/htaccess-checker.php
|
||||
RESULT=$(($RESULT+$?))
|
||||
|
||||
|
||||
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do
|
||||
|
@ -28,7 +33,10 @@ for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do
|
|||
else
|
||||
./occ app:check-code "$app"
|
||||
fi
|
||||
RESULT=$?
|
||||
RESULT=$(($RESULT+$?))
|
||||
done;
|
||||
|
||||
php ./build/signed-off-checker.php
|
||||
RESULT=$(($RESULT+$?))
|
||||
|
||||
exit $RESULT
|
||||
|
|
Loading…
Reference in New Issue