Ah, ok. I made the change and now it's working.
Thank you,
Eric
On 10/12/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
>
> 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.
>
>
--
Learn from the past. Live in the present. Plan for the future.
Received on Fri Oct 12 23:37:27 2007