On Sun, Sep 4, 2011 at 1:47 AM, Ryan Schmidt
wrote:
> On Sep 2, 2011, at 19:08, Konstantin Kolinko wrote:
>
>> At least "exit code 255" message means that subversion sees the file
>> and tries to start it. (I wonder why it is "255").
>
> I think I've usually seen 255 when the script exists but can
On Sep 2, 2011, at 19:08, Konstantin Kolinko wrote:
> At least "exit code 255" message means that subversion sees the file
> and tries to start it. (I wonder why it is "255").
I think I've usually seen 255 when the script exists but cannot be executed --
for example, is not executable, doesn't h
2011/9/3 douglas barrett :
>
>>> apache@X hooks]$ pwd
>>> Y/hooks
>>>
>>> [apache@X hooks]$ ls -l pre-revprop-change
>>> -rwxr-xr-x. 1 apache apache 2890 Sep 2 08:39
>>> pre-revprop-change << so I seem to have a valid hook
>>>
>>> [apache@irvine hooks]$ tail -14 pre-revprop-change
>>
On 9/2/2011 7:18 PM, douglas barrett wrote:
[apache@X hooks]$ head -1 pre-revprop-change
#!/bin/sh
{
As a side point the "shebang" is not required for a shell script
to run.
[apache@X tmp]$ echo "echo \$*" > ./Echo
[apache@X tmp]$ cat ./Echo
echo $*
[apache@X tmp]$ chmod
>> apache@X hooks]$ pwd
>> Y/hooks
>>
>> [apache@X hooks]$ ls -l pre-revprop-change
>> -rwxr-xr-x. 1 apache apache 2890 Sep 2 08:39
>> pre-revprop-change << so I seem to have a valid hook
>>
>> [apache@irvine hooks]$ tail -14 pre-revprop-change
>> REPOS="$1"
>
>
>"tail" does n
2011/9/2 douglas barrett :
> apache@X hooks]$ pwd
> Y/hooks
>
> [apache@X hooks]$ ls -l pre-revprop-change
> -rwxr-xr-x. 1 apache apache 2890 Sep 2 08:39
> pre-revprop-change << so I seem to have a valid hook
>
> [apache@irvine hooks]$ tail -14 pre-revprop-change
> REPOS="$1"
"tail