Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: improvement based on #5681

d-millareb904f40c28f
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..d6c23433cb 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
@@ -44,7 +44,7 @@ LLVM_TEMP_DIR=$(mktemp -d)
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
- export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm-*)"
+ export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm-${LLVM_VERSION}.*)"
fi
# Set the appropriate build variables to link and compile the