Bug 976442 - Add a kill switch for sccache. r=bhearsum
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 28 Feb 2014 09:02:55 +0900
changeset 171464 3dfe2491e8ec7a9476b533fb0aecbcdcc8c6c904
parent 171463 ec85e0c7c0608971110eb31375dd3e1e094accbf
child 171465 826695253218f029cfdb3fd7f1927cfc6b616ef7
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersbhearsum
bugs976442
milestone30.0a1
Bug 976442 - Add a kill switch for sccache. r=bhearsum
build/mozconfig.cache
--- a/build/mozconfig.cache
+++ b/build/mozconfig.cache
@@ -1,16 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Setup for build cache
 
 bucket=
-if test -f "$topsrcdir/sccache/sccache.py"; then
+if test -z "$SCCACHE_DISABLE" -a -f "$topsrcdir/sccache/sccache.py"; then
     case `hostname` in
     try*spot*.use1.mozilla.com|try*ec2*.use1.mozilla.com)
         bucket=mozilla-releng-s3-cache-us-east-1-try
         ;;
     try*spot*.usw2.mozilla.com|try*ec2*.usw2.mozilla.com)
         bucket=mozilla-releng-s3-cache-us-west-2-try
         ;;
     esac