Getting some perl script errors on execution of svnnotify

Posted by user2474633 on Super User See other posts from Super User or by user2474633
Published on 2013-11-11T07:19:51Z Indexed on 2013/11/11 10:01 UTC
Read the original article Hit count: 297

Filed under:
|

I installed svnnotify:2.84, perl module 5.10 for subversion 1.7.11 on redhat release 6. And i am using this command in post-commit hooks to get notified

svnnotify --repos-path "$1" --revision "$2" --from [email protected] \
    --to-regex-map [email protected]="branches/Test_branch12" \
    --smtp xxxxxx.com HTML::ColorDiff >> /tmp/notify.txt 2>&1

once the commit is successful i can see the below mentioned error in the output file.

Use of uninitialized value $[0] in exec at /usr/local/share/perl5/SVN/Notify.pm line 2332.
Can't exec "": No such file or directory at /usr/local/share/perl5/SVN/Notify.pm line 2332.
Use of uninitialized value $[0] in concatenation (.) or string at /usr/local/share/perl5/SVN/Notify.pm line 2332.
Cannot exec : No such file or directory
Child process exited: 512

Can anyone help on this.

© Super User or respective owner

Related posts about svn

Related posts about svn-server