jvanzyl 2004/04/11 09:31:25 Modified: . ci.sh Log: o only push out mail when a build was required. Revision Changes Path 1.16 +10 -1 maven-components/ci.sh Index: ci.sh =================================================================== RCS file: /home/cvs/maven-components/ci.sh,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- ci.sh 11 Apr 2004 03:41:23 -0000 1.15 +++ ci.sh 11 Apr 2004 16:31:25 -0000 1.16 @@ -141,4 +141,13 @@ ) >> log 2>&1 -/usr/sbin/sendmail -t < log +BUILD_REQUIRED=`cat $HOME_DIR/build_required` + +# Only send mail to the list if a build was required. + +if [ "$BUILD_REQUIRED" = "true" ] +then + + /usr/sbin/sendmail -t < log + +fi
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
