Bug 1429819: Allow using tooltool macOS SDK on all automation builds and all cross-builds. r=dminor

The original logic I wrote had the condition backwards.

MozReview-Commit-ID: IFIS8vZLgd4

--HG--
extra : rebase_source : 8504e1834e39f2a244abe0a89f2235bca8cae640
This commit is contained in:
Tom Prince 2018-01-23 11:56:50 -07:00
parent a48a892756
commit 642b5fb351

View File

@ -84,7 +84,7 @@ def main():
if __name__ == '__main__':
if sys.platform == 'darwin' or os.environ.get('MOZ_AUTOMATION') != '1':
if sys.platform == 'darwin' and os.environ.get('MOZ_AUTOMATION') != '1':
print main()
else:
# Mozilla builds cross-compile on Linux or install an SDK from tooltool, so