Quoting dj <dj@shadyvale.net>:
> Ok, after playing with this some, the hooks work fine on Linux if you
> have the #!/bin/shell line in a script, or if the hook is a binary.
>
> So, if you don't specify a shell/interpreter with a #! line, does the
> OS assume you want to use your default shell? And it must cause
> execution to behave differently somehow...? Just curious and trying
> to add to my limited (obviously) unixy OS knowledge.
So, you have a file with the execute bit set, but it's not a program binary, and
doesn't have a #! line telling the kernel how to process it? I can't say for
sure what is supposed to happen. If you start such a script from the shell, then
the shell will definitely interper it. Our hooks aren't started from the shell,
though, and what the kernel does is anyone's guess. The best suggestion I have
is "Don't do that". :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 25 17:31:34 2003