The Little Guy Posted January 8, 2011 Share Posted January 8, 2011 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? Quote Link to comment https://forums.phpfreaks.com/topic/223744-svn-post-commit/ Share on other sites More sharing options...
trq Posted January 8, 2011 Share Posted January 8, 2011 [quite]Anyone see anything wrong?[/quite] I wouldn't be using a svn working copy as a production site, especially if it's being updated from the trunk. Quote Link to comment https://forums.phpfreaks.com/topic/223744-svn-post-commit/#findComment-1156554 Share on other sites More sharing options...
The Little Guy Posted January 8, 2011 Author Share Posted January 8, 2011 this isn't the working site, its just our "dev" I just didn't call it "dev". Quote Link to comment https://forums.phpfreaks.com/topic/223744-svn-post-commit/#findComment-1156703 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.