Dario Niedermann wrote on Wed, Oct 12, 2016 at 12:04:03 +0200:
> Returning to the original topic, and just to be even clearer: this is
> about Subversion NOT RUNNING a script because it has a FLAG FOR THE
> SHELL in its SHEBANG LINE. Not because I got the path to bash wrong or
> because there is some other error in my script (as should be *OBVIOUS*
> from my very first email).
There is no need to shout. Mario's theory was entirely plausible: if
some command in the script returns non-zero and prints nothing to
stderr, that will entirely explains the symptoms you saw, both before
and after removing the -e.
This relies on knowing that -e to sh means "exit the shell as soon as
any command exits non-zero".
The minimum example of this theory is: