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

Re: Problem with post-commit hook in SVN

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-06-13 19:04:06 CEST

On Jun 13, 2006, at 18:45, Raju N wrote:

> I am facing problems with post-commit hook script in SVN. I have a
> shell
> script at a location and is readable by apache. The commit-email.pl
> script
> works just fine, but the shell script is not working. I have added the
> following line to the post-commit hook
>
> /bin/sh <svn_reposiotry/hooks/shellscript.sh>
>
> If I execute the same command from command line it works. But when
> I place
> the same command with absolute path in post-commit hook script it
> doesn't.
>
> I am going wrong some where? Or do I have to make some more
> settings in hook
> script to make my shell script work? Please suggest!

Obviously something's going wrong. Are you using non-absolute paths
within shellscript.sh? Can you show us the contents of shellscript.sh?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 13 19:06:34 2006

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

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