Attempt to fix the annoying trigger bug where a notification mail goes out even when...
authorChris Larson <clarson@kergoth.com>
Thu, 15 Jan 2004 23:33:35 +0000 (23:33 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 15 Jan 2004 23:33:35 +0000 (23:33 +0000)
BKrev: 4007234fTtfh9FS2DL6o83FFvvFZ5w

BitKeeper/triggers/post-outgoing.ciabot

index 8e1a327..0657f9a 100644 (file)
@@ -86,6 +86,7 @@ fi
 
 if [ X$BK_CSETLIST != X ]
 then
+if ! test -z "`cat $BK_CSETLIST`"; then
 echo "Sending notification mail to $COMMITADDRESS..."
 
 (
@@ -101,4 +102,5 @@ echo repository={green}${R_OUT}{normal} $U_OUT
 ) | mail -s "Announce `echo -n $IRCCHANNEL | sed 's,.*/,,'`" $COMMITADDRESS
 echo "done."
 fi
+fi
 exit 0