From 9e779fe5e93dbc496bcb9f374adaff5c1b678280 Mon Sep 17 00:00:00 2001 From: d-millar <33498836+d-millar@users.noreply.github.com> Date: Wed, 20 Sep 2023 10:42:50 -0400 Subject: [PATCH] GP-0: fix for script --- .../Debugger-swig-lldb/macos_debugger_lldb_build_from_brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Debug/Debugger-swig-lldb/macos_debugger_lldb_build_from_brew.sh b/Ghidra/Debug/Debugger-swig-lldb/macos_debugger_lldb_build_from_brew.sh index e18b542252..6ca765d69b 100755 --- a/Ghidra/Debug/Debugger-swig-lldb/macos_debugger_lldb_build_from_brew.sh +++ b/Ghidra/Debug/Debugger-swig-lldb/macos_debugger_lldb_build_from_brew.sh @@ -43,7 +43,7 @@ LLVM_TEMP_DIR=$(mktemp -d) # brew specific patches. brew unpack --patch --destdir ${LLVM_TEMP_DIR} llvm@${LLVM_VERSION} export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm@${LLVM_VERSION}-*)" -if [ -z "${LLVM_HOME}" ]; then +if [ ! -d "${LLVM_HOME}" ]; then export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm-*)" fi