3 # Send notification through the taskd socket
5 # Beware, we MAY be running in a chroot!
9 sockpath
=/etc
/taskd.socket
11 if [ -x /usr
/bin
/perl
]; then
15 sockpath
="$cfg_chroot/$sockpath"
16 projname
="${cwd#$cfg_reporoot/}"
18 projname
="${cwd#/srv/git/}"
21 [ -S "$sockpath" ] ||
exit 0
24 echo "ref-change $UID ${projname%.git} $line" |
/bin
/nc.openbsd
-w 1 -U "$sockpath"