Merge remote-tracking branch 'origin/GP-0_d-millar_fix_for_brew_script'

into
Ghidra_10.4 (#5681)
This commit is contained in:
Ryan Kurtz 2023-09-21 11:50:17 -04:00
commit 3bb95e85ef

View File

@ -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-${LLVM_VERSION}.*)"
fi