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

Re: commit-email.pl: Global symbol "@SVN_BINDIR" requires explicit package name at commit-email.pl line 56.

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-12 23:21:06 CEST

On Oct 12, 2007, at 13:47, Eric Berry wrote:

> I'm new to subversion hook scripts, and I simply want to send
> out a commit email to a list of users.
>
> When I downloaded the commit-email.pl and put it in the hooks dir,
> I tried running it.
>
> I get this error:
> [quote]
> Possible unintended interpolation of @SVN_BINDIR in string at
> commit-email.pl line 56.
> Global symbol "@SVN_BINDIR" requires explicit package name at
> commit-email.pl line 56.
> Execution of commit-email.pl aborted due to compilation errors.
> [/quote]
>
> Do I need to set this global variable somewhere?

Ah, but you did not download commit-email.pl -- you downloaded commit-
email.pl.in. :) .in files need to be pre-processed in some way before
they're used. In this case, you need to edit the file and replace
@SVN_BINDIR@ with the directory where your binaries are actually
installed. Then you can call it commit-email.pl and use it in your
hooks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 12 23:43:37 2007

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.