CVSROOT ciabot,1.1,1.2

Nathaniel Smith <[email protected]> Sun, 01 Jun 2003 22:18:35 -0500
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/CVSROOT
In directory purcel:/tmp/cvs-serv4115

Modified Files:
	ciabot 
Log Message:
tweak to give feedback while running

Index: ciabot
===================================================================
RCS file: /cvs/fresco/CVSROOT/ciabot,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ciabot	1 Jun 2003 22:54:49 -0000	1.1
+++ ciabot	2 Jun 2003 03:18:33 -0000	1.2
@@ -1,14 +1,17 @@
 #!/bin/bash
 
-# This version hacked by njs to include module name.
+# This version hacked by njs to include module name and give feedback
+# while running.
 # It should be called as "ciabot %{}" from loginfo.
 
+projectname="fresco"
+echo -n "Notifying #${projectname}..."
+
 message=`cat`
 uname=`id -un`
 lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '`
 message=`echo "$message" | sed "1,${lineno}d"`
 
-projectname="Fresco"
 tmpfile="/tmp/$RANDOM-$projectname"
 message=`echo "$message" | head -n 5`
 
@@ -37,3 +40,4 @@
         mv $tmpfile /tmp/lastlog-$projectname
 fi
 
+echo "done."