summaryrefslogtreecommitdiffstats
path: root/tools/scan-build
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
commit5a15d92206f8ef357c49d6993a6ec4a85bde7b8f (patch)
tree2a2721682f8af0bea764881ff28a1b8d4bfb1858 /tools/scan-build
parent7fde6518934846808e878cee8798166ae65edcd4 (diff)
Force set-xcode-analyzer to use the system version of Python installed on OS X.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-build')
-rwxr-xr-xtools/scan-build/set-xcode-analyzer6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/scan-build/set-xcode-analyzer b/tools/scan-build/set-xcode-analyzer
index cc068a56ad..133f9cc329 100755
--- a/tools/scan-build/set-xcode-analyzer
+++ b/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