[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Re: Hooks on Windows

From: <brane_at_xbc.nu>
Date: 2003-08-25 17:30:31 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.