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

RE: How do i set up post commit hook script?

From: Uppal, Deepali <deepali_at_ti.com>
Date: 2005-10-21 07:44:15 CEST

Yes, TEMP is undefined I can remove that error message by
modifying the script to not use the environment variable.

How ever I still get the following error:
sh: -c: line 1: unexpected EOF while looking for matching ``'
sh: -c: line 2: syntax error: unexpected end of file
Broken pipe

Regards,
Deepali

Regards,

Deepali
-----Original Message-----
From: Steve Williams [mailto:stevewilliams@kromestudios.com]
Sent: Friday, October 21, 2005 11:11 AM
To: Uppal, Deepali
Cc: users@subversion.tigris.org
Subject: Re: How do i set up post commit hook script?

Uppal, Deepali wrote:
> I am trying to setup the post-commit hook by creating the
> post-commit executable and the commit-email.pl script.
>
> When I run commit-email.pl giving the repository path, revision
> number and email address from the command line I get the
> following error:
>
> Use of uninitialized value in -d at commit-email.pl line 224.
> sh: -c: line 1: unexpected EOF while looking for matching ``'
> sh: -c: line 2: syntax error: unexpected end of file
> Broken pipe
>
> The environment variable TEMP is undefined and leading to the
> error message for line 224. But I am unable to find the cause of the
> other errors. Any help would be appreciated.

There is no environment for hook scripts, so of course TEMP will be
undefined.

-- 
Sly
This message and its attachments may contain legally privileged or
confidential information. This message is intended for the use of the
individual or entity to which it is addressed. If you are not the
addressee indicated in this message, or the employee or agent
responsible for delivering the message to the intended recipient, you
may not copy or deliver this message or its attachments to anyone.
Rather, you should permanently delete this message and its attachments
and kindly notify the sender by reply e-mail. Any content of this
message and its attachments, which does not relate to the official
business of the sending company must be taken not to have been sent or
endorsed by the sending company or any of its related entities. No
warranty is made that the e-mail or attachment(s) are free from computer
virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 21 07:46:21 2005

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.