I've got several (in this case, pre-commit) hooks that I would like to have run during the same event. Right now, they are all just shell-scripts, so I know I could just concatenate them to get them all to run. In the future though, additional scripts may be written in Perl, PHP, or some other language as well.
How can I run several different scripts as part of a single hook, and have any one failure of the sub-hooks, fail as expected?