diff --git a/lldb/scripts/Python/build-swig-Python.sh b/lldb/scripts/Python/build-swig-Python.sh index 6e6fdd7737b8..5cbb9644ca00 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