aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2013-12-10 16:51:35 +0000
committerSylvestre Ledru <sylvestre@debian.org>2013-12-10 16:51:35 +0000
commita7830a47f13ff616e406f5f1174f5d6ff34b09c0 (patch)
tree9b710dc3a637344b2a82a7b92d05a23eedb5f74b /lldb/scripts/Python
parentc3183ed70e7230bae0daae30c1dae68556f70bd9 (diff)
downloadllvm-a7830a47f13ff616e406f5f1174f5d6ff34b09c0.zip
llvm-a7830a47f13ff616e406f5f1174f5d6ff34b09c0.tar.gz
llvm-a7830a47f13ff616e406f5f1174f5d6ff34b09c0.tar.bz2
As consistency, invoke python with /usr/bin/env (like it is done in the rest of the file). Thanks to Xavier De Gaye for the patch
llvm-svn: 196933
Diffstat (limited to 'lldb/scripts/Python')
-rwxr-xr-xlldb/scripts/Python/build-swig-Python.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/build-swig-Python.sh b/lldb/scripts/Python/build-swig-Python.sh
index 6e6fdd7..5cbb964 100755
--- a/lldb/scripts/Python/build-swig-Python.sh
+++ b/lldb/scripts/Python/build-swig-Python.sh
@@ -356,7 +356,7 @@ fi
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