Getting a post commit hook to work
From: Graham Anderson <grahama_at_siren.cc>
Date: 2006-07-25 01:33:47 CEST
I am unable to get my post-commit script to work :(
If I ,as root, enter '/usr/local/bin/update-dev' directly into the
# /usr/local/bin/update-dev
If I try to put the same command in the post-commit script, it fails.
As outlined in http://arstechnica.com/articles/columns/linux/
1) created update-dev.c:
#include <stdlib.h>
2) compiled update-dev.c and set the proper permissions:
gcc update-dev.c -o /usr/local/bin/update-dev
3) created a post-commit script in:
#!/bin/bash
so far, the post commit is not behaving
g
---------------------------------------------------------------------
|
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.