summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-01-03 22:05:57 +0000
committerTed Kremenek <kremenek@apple.com>2012-01-03 22:05:57 +0000
commit950e534e606c38798220a419c5be0d9470914e33 (patch)
tree150d8727a0e2414ccb2e95460d44d7d796f6d233 /clang
parent173d499c25cc73f80e8e049ee92a84ce515a5764 (diff)
downloadbcm5719-llvm-950e534e606c38798220a419c5be0d9470914e33.tar.gz
bcm5719-llvm-950e534e606c38798220a419c5be0d9470914e33.zip
Force set-xcode-analyzer to use the system version of Python installed on OS X.
llvm-svn: 147483
Diffstat (limited to 'clang')
-rwxr-xr-xclang/tools/scan-build/set-xcode-analyzer6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/tools/scan-build/set-xcode-analyzer b/clang/tools/scan-build/set-xcode-analyzer
index cc068a56adf..133f9cc329e 100755
--- a/clang/tools/scan-build/set-xcode-analyzer
+++ b/clang/tools/scan-build/set-xcode-analyzer
@@ -1,4 +1,8 @@
-#!/usr/bin/env python
+#!/usr/bin/python
+
+# [PR 11661] Note that we hardwire to /usr/bin/python because we
+# want to the use the system version of Python on Mac OS X.
+# This one has the scripting bridge enabled.
import os
import sys
OpenPOWER on IntegriCloud