From 2a12be063fcedb7eb0a7708d66cb94f8758e994a Mon Sep 17 00:00:00 2001
From: david_williams <david_williams>
Date: Fri, 20 Jul 2007 03:56:35 +0000
Subject: [PATCH] fix for "skipusers" hard coding

---
 releng.control/cc_config.xml                               | 2 +-
 releng.control/commonVariations.shsource                   | 3 +++
 releng.control/somePathDirectory/commonVariations.shsource | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/releng.control/cc_config.xml b/releng.control/cc_config.xml
index 7533d1990..c66909f88 100644
--- a/releng.control/cc_config.xml
+++ b/releng.control/cc_config.xml
@@ -60,7 +60,7 @@
             <email
                 mailhost="localhost"
                 returnaddress="${env.BUILD_BUILDMASTER_EMAIL}"
-                skipusers="false"
+                skipusers="${env.SKIPUSERS}"
                 subjectprefix="[${project.name}]"
                 spamwhilebroken="false"
                 buildresultsurl="${env.BUILD_RESULT_URL}/${project.name}">
diff --git a/releng.control/commonVariations.shsource b/releng.control/commonVariations.shsource
index 0e28481c2..31b6d4a58 100644
--- a/releng.control/commonVariations.shsource
+++ b/releng.control/commonVariations.shsource
@@ -30,3 +30,6 @@ export BUILD_BUILDMASTER_EMAIL=wtpBuild@eclipse.org
 export BUILD_RESULT_URL=http://build.eclipse.org:7777/cruisecontrol/buildresults
 export BUILD_TOADDRESS=david_williams@us.ibm.com
 
+# for  builds on local machines, SKIPUSERS should be 'true' to avoid 
+# notifying users about those builds on your local machine
+export SKIPUSERS=false
\ No newline at end of file
diff --git a/releng.control/somePathDirectory/commonVariations.shsource b/releng.control/somePathDirectory/commonVariations.shsource
index a8796a522..f232052ef 100644
--- a/releng.control/somePathDirectory/commonVariations.shsource
+++ b/releng.control/somePathDirectory/commonVariations.shsource
@@ -34,3 +34,6 @@ export BUILD_BUILDMASTER_EMAIL=davidw@davidw.com
 export BUILD_RESULT_URL=http://davidw.com:7777/cruisecontrol/buildresults
 export BUILD_TOADDRESS=david_williams@us.ibm.com
 
+# for  builds on local machines, SKIPUSERS should be 'true' to avoid 
+# notifying users about those builds on your local machine
+export SKIPUSERS=true
\ No newline at end of file
-- 
GitLab