From ac307ad352acd7b4661fe05986d465bf3e9af55a Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Mon, 28 Jun 2004 04:38:37 +0000 Subject: [PATCH] o adding a check for presence on beaver. then folks can try this out on their machines. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162846 13f79535-47bb-0310-9956-ffa450edef68 --- ci.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ci.sh b/ci.sh index 68e7688b21..59b4113291 100755 --- a/ci.sh +++ b/ci.sh @@ -146,9 +146,12 @@ BUILD_REQUIRED=`cat $HOME_DIR/build_required` # Only send mail to the list if a build was required. +host=`hostname` + if [ "$BUILD_REQUIRED" = "true" ] then - - /usr/sbin/sendmail -t < log - + if [ "$hostname" = "beaver.codehaus.org" ] + then + /usr/sbin/sendmail -t < log + fi fi