Skip to content

Commit 5c79d16

Browse files
committed
Make it a little easier to find FileCheck via Homebrew
...by falling back to adding the default Homebrew install path as a search path. Xcode won't see /usr/local/bin when added to PATH via .profile.
1 parent 0d3886a commit 5c79d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/Xcode/create-lit-site-cfg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# Amend PATH with known location of LLVM tools
6-
BREW="$(which brew || true)"
6+
BREW="$(PATH="$PATH:/usr/local/bin" which brew || true)"
77
if [ -n "${BREW}" ]; then
88
PATH="$PATH:`${BREW} --prefix`/opt/llvm/bin"
99
fi

0 commit comments

Comments
 (0)