From c05f5b71d5ac21d0b789ad9c8e61de9a0858328b Mon Sep 17 00:00:00 2001 From: snare Date: Mon, 5 Sep 2016 12:21:18 +1000 Subject: [PATCH] Fix ambiguous command line option for newer LLDB --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 889e603..9384ec9 100755 --- a/install.sh +++ b/install.sh @@ -67,13 +67,13 @@ fi if [ -n "${LLDB}" ]; then # Find the Python version used by LLDB - PYVER=$(lldb -Qxbo 'script import platform; print(".".join(platform.python_version_tuple()[:2]))'|tail -1) - PYTHON=$(lldb -Qxbo 'script import sys; print(sys.executable)'|tail -1) + PYVER=$(lldb -Qxb --one-line 'script import platform; print(".".join(platform.python_version_tuple()[:2]))'|tail -1) + PYTHON=$(lldb -Qxb --one-line 'script import sys; print(sys.executable)'|tail -1) PYTHON="${PYTHON}${PYVER}" if [ -z $USER_MODE ]; then - LLDB_SITE_PACKAGES=$(lldb -Qxbo 'script import site; print(site.getsitepackages()[0])'|tail -1) + LLDB_SITE_PACKAGES=$(lldb -Qxb --one-line 'script import site; print(site.getsitepackages()[0])'|tail -1) else - LLDB_SITE_PACKAGES=$(lldb -Qxbo 'script import site; print(site.getusersitepackages())'|tail -1) + LLDB_SITE_PACKAGES=$(lldb -Qxb --one-line 'script import site; print(site.getusersitepackages())'|tail -1) fi install_apt