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

Re: perl hooks

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: Tue, 16 Dec 2008 05:32:13 -0800

Quoting Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>:

> So here is the thing.
>
> I have a perl script. It is running OK from command line
> But when I execute the script from hook (I run in command line svn
> commit...) nothing happens.
>
> Why ?????

Hook scripts run without your normal PATH setup, so commands in your script
can't be found unless you give a complete path to the command. The SVN book
has a nice description of how it all works and why it's this way.

Erik

>
> Ilan Yaniv
> Configuration Management
> Phone: 03-7534333 ext. 5873
> Ilan.Yaniv_at_timetoknow.org
>
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984934
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984973

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-16 14:33:19 CET

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.