From: Neil Muller Date: Sun, 22 Mar 2020 12:24:17 +0000 (+0200) Subject: Fix paths X-Git-Url: https://git.ctpug.org.za/?p=gitolite-hooks.git;a=commitdiff_plain;h=be0a5404034731b70a08addaa0f96b53e3d1b7d3 Fix paths --- diff --git a/irker b/irker index ab0b10a..eb4bd1e 100755 --- a/irker +++ b/irker @@ -1,6 +1,6 @@ #!/bin/bash -IRKERPATH=/home/irker/VE/bin/ +IRKERPATH=/usr/bin/ function help() { echo "Required config settings:" @@ -21,7 +21,7 @@ function notify_irker() { # to get the rev list # This does the wrong thing if the parent of the branch isn't master # but it is kind of correct most of the time - ${IRKERPATH}/irkerhook.py --refname=${refname} \ + ${IRKERPATH}/irkerhook --refname=${refname} \ $(git rev-list $new --not master) elif [ "x$new" = "x0000000000000000000000000000000000000000" ]; then # We're deleting a branch - we need to do the right thing @@ -32,7 +32,7 @@ function notify_irker() { ${IRKERPATH}/irk $channel "$repo: Deleted branch $refname" done else - ${IRKERPATH}/irkerhook.py --refname=${refname} \ + ${IRKERPATH}/irkerhook --refname=${refname} \ $(git rev-list --reverse ${old}..${new}) fi }