Jump to content

SVN post-commit


Recommended Posts

I am having trouble using a post commit.

 

File: /svn/trucker/hooks/post-commit

#!/bin/bash
wget --http-user=user --http-passwd=pass -qO - http://truck.ryannaddy.com/cgi-bin/pri/do_update.cgi

 

basically when I commit something, it doesn't run that file (I think). If it does run the file, it looks like this:

#!/bin/sh
set -f
echo "Content-type: text/plain; charset=iso-8859-1"
echo
/usr/bin/svn update /home/ryannaddy/truck.ryannaddy.com

 

Anyone see anything wrong?

Link to comment
https://forums.phpfreaks.com/topic/223744-svn-post-commit/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.