From 44286afe0f7810be4ac864c1de46102631a20dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=ED=9D=AC=EC=9B=90?= Date: Thu, 28 Apr 2022 21:50:37 +0900 Subject: [PATCH] Fix installation error on osx --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index ba781f6cb..649c781d3 100755 --- a/setup.sh +++ b/setup.sh @@ -140,7 +140,9 @@ git submodule update --init --recursive # Find the Python version used by GDB. PYVER=$(gdb -batch -q --nx -ex 'pi import platform; print(".".join(platform.python_version_tuple()[:2]))') PYTHON+=$(gdb -batch -q --nx -ex 'pi import sys; print(sys.executable)') +if ! osx; then PYTHON+="${PYVER}" +fi # Find the Python site-packages that we need to use so that # GDB can find the files once we've installed them.