[lldb-dev] [PATCH] invoking python inconsistently

Xavier de Gaye xdegaye at gmail.com
Sun Dec 8 13:00:26 PST 2013


in lldb/scripts/Python/build-swig-Python.sh, see the patch below.

diff --git a/tools/lldb/scripts/Python/build-swig-Python.sh
b/tools/lldb/scripts/Python/build-swig-Python.sh
--- a/tools/lldb/scripts/Python/build-swig-Python.sh
+++ b/tools/lldb/scripts/Python/build-swig-Python.sh
@@ -356,7 +356,7 @@
 current_dir=`pwd`
 if [ -f "${current_dir}/modify-python-lldb.py" ]
 then
-    python ${current_dir}/modify-python-lldb.py ${CONFIG_BUILD_DIR}
+    /usr/bin/env python ${current_dir}/modify-python-lldb.py
${CONFIG_BUILD_DIR}
 fi



More information about the lldb-dev mailing list