Subversion post-commit hook


#1

I need a little help getting this to work. For some reason, the hook won’t run after I do a commit. I can manually execute the script and it works, but doesn’t work automatically.
Here’s my script:
#!/bin/sh
/usr/bin/svn export --username xxxx --password xxxx --force http://myurl.com/repo /path/to/export/to
Do I need to do anything special?