case "$ACTION" in
file_changed | checkout_file | checkin_file
|\
lock_file | unlock_file)
# $1 is PROJECT, $2 is PATHNAME
DIR=`dirname $2`
FILE=`basename $2`
echo send_notify FILE-MODIFIED $FILE NULL\
PASS NULL | \
ciclient -directory $DIR
;;
*)
echo $PROG: cannot convert action $ACTION
;;
esac
fi
exit 0
| On any of the file changed notifications from SNiFF+, send a message to the BMS.
You have to extend this case statement if you want to forward other notifications from SNiFF+. This list must match the registration notifications above.
|