Fix exit status in process_file in case of build error
Some checks failed
the build failed

This commit is contained in:
2019-02-16 11:17:58 +01:00
parent 8c902f2634
commit f7bd3ce962

View File

@@ -5,5 +5,7 @@ basedir="${0%/*}/.."
. "$basedir/build/arguments.sh"
[ "$command" = process_file ] && process_file "$workfile" "$processor" "$olang" \
|| die "Urecognised command or no command given"
case "$command" in
process_file) process_file "$workfile" "$processor" "$olang" ;;
*) die "Unrecognised command or no command given" ;;
esac