Merge openembedded@openembedded.bkbits.net:packages
authorChris Larson <clarson@kergoth.com>
Fri, 5 Dec 2003 07:38:54 +0000 (07:38 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 5 Dec 2003 07:38:54 +0000 (07:38 +0000)
into direwolf.ppp.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages

2003/12/05 01:38:43-06:00 ti.com!kergoth
Dont email CIA when there are no csets to send..

BKrev: 3fd0360e4TmKc4MdgsUUb6-Fb67Ntg

BitKeeper/triggers/post-outgoing.ciabot

index d98f06f..cf45b05 100644 (file)
@@ -84,6 +84,8 @@ then
 CHANGECMD="$CHANGECMD -v"
 fi
 
+if [ X$BK_CSETLIST != X ]
+then
 echo "Sending notification mail to $COMMITADDRESS..."
 
 (
@@ -93,12 +95,11 @@ R_OUT=`echo $RD | sed "s,.*/,,"`
 echo repository={green}${R_OUT}{normal} $U_OUT
 
 # See "bk help prs" for documentation on the formatting string.
-if [ X$BK_CSETLIST != X ]
-then
      (
      $CHANGECMD -d'$if(:GFILE:=ChangeSet){{orange}ChangeSet@:REV:{normal}$if(:TAG:){ tags={red}:TAG:{normal}} $if(:C:){:C:}\n}$unless(:GFILE:=ChangeSet){* :GFILE:$if(:C:){: $each(:C:){(:C:)}}\n}' - < $BK_CSETLIST
      )
 fi
 ) | mail -s "Announce `echo -n $IRCCHANNEL | sed 's,.*/,,'`" $COMMITADDRESS
 echo "done."
+fi
 exit 0