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 $projname $line"
25 done |
/bin
/nc.openbsd
-w 1 -U "$sockpath"