subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Reedick <>
Subject RE: [Linux] Hook hashbang hardships
Date Fri, 14 Oct 2016 12:58:57 GMT

> Hello! I've been having trouble getting my own pre-revprop-change hook script to work.
Svn was refusing any change to a revprop with the following error:
> ________________________________________
> svn: E165001: Revprop change blocked by pre-revprop-change hook (exit code 1) with no
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Until I found out that the issue was in the script's shebang:
>	#!/bin/bash -e
> which wouldn't work. Had to remove ' -e'. Is this expected behaviour or is there something
wrong with svn (version 1.9.4 (r1740329) on
> Linux/x86_64) ?

Bash doesn't appear to have a "-e" option.  (There is a "-e" test to check if a path exists,
but that's not a command line arg you pass in to bash.)

/bin/bash --help
man bash

View raw message