From: Chris Larson Date: Tue, 2 Nov 2004 23:25:26 +0000 (+0000) Subject: Make the CIA post-outgoing trigger obey a BK_SILENT variable, to supress notification... X-Git-Tag: Release-2010-05/1~16408 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c10abad1307a334f11d00daa7757791ad9050d1a;p=openembedded.git Make the CIA post-outgoing trigger obey a BK_SILENT variable, to supress notifications when doing syncs. BKrev: 41881766xDUVK1E5ZuNrgAa3_Gnt7A --- diff --git a/BitKeeper/triggers/post-outgoing.ciabot b/BitKeeper/triggers/post-outgoing.ciabot index 223c56d1e4..60c2bb46d1 100644 --- a/BitKeeper/triggers/post-outgoing.ciabot +++ b/BitKeeper/triggers/post-outgoing.ciabot @@ -24,6 +24,10 @@ # Boston, MA 02111-1307, USA. check_sanity () { + if [ X$BK_SILENT != X ]; then + return 1 + fi + if [ X$BK_STATUS = XDRYRUN -o X$BK_STATUS = XNOTHING ]; then return 1 fi