Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/GP-0_d-millar_fix_for_brew_script' into Ghidra_10.4 (#5681)
Ryan Kurtz3bb95e85efe7
diff --cc Ghidra/Debug/Debugger-swig-lldb/macos_debugger_lldb_build_from_brew.shindex d6c23433cb,6ca765d69b..e54d4f905a--- 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,8 -43,8 +43,8 @@@ 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-*)"+ export LLVM_HOME="$(echo ${LLVM_TEMP_DIR}/llvm-${LLVM_VERSION}.*)"fi# Set the appropriate build variables to link and compile the