Improve uncrustify.sh return code handling
commit47de335ceef5589d08c8a7700790d20a2f62c738
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 11 Sep 2014 17:44:38 +0000 (11 20:44 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 11 Sep 2014 22:40:59 +0000 (12 00:40 +0200)
tree1c6d47483099e01153883f31d18ba825cbb4c999
parent1bf821d461c749fbc34987c5b10f4527da782ba1
Improve uncrustify.sh return code handling

Apparently, the exit code for the script does not work on Jenkins.
I can only guess whether this is caused by different bash (with some
differences in the support for set -o pipefail) or git versions (with
different behavior of the --exit-code flag in combination with the other
flags), or something else, but these changes seem to make it work.

Apply uncrustify with reformat_all.sh to fix any issues that have been
slipped through so far.

Change-Id: I005eed88f839014f38992826ad7b984b8ad3597e
admin/uncrustify.sh
src/gromacs/mdlib/domdec.cpp