diff options
author | Lukacs Berki <lberki@google.com> | 2015-03-25 11:08:18 +0000 |
---|---|---|
committer | Lukacs Berki <lberki@google.com> | 2015-03-25 11:13:15 +0000 |
commit | be8af482a3a14ea17450e54250187722709ceaf9 (patch) | |
tree | 05efe3983b56ccb32cbe149d37b39e8066db928c /compile.sh | |
parent | c2090e5cc973b4388e07d33cfac370551ac6e003 (diff) |
Allow compile.sh to find libarchive on Mac with custom Homebrew directory.
This is a merge of
https://github.com/safarmer/bazel/commit/dcddddcd2a3f61d1b760825a8f77f0e069f77e66
--
MOS_MIGRATED_REVID=89487751
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh index 5b83b32b1b..488fc801ef 100755 --- a/compile.sh +++ b/compile.sh @@ -140,7 +140,7 @@ darwin) fi PROTOC=${PROTOC:-third_party/protobuf/protoc.darwin} - homebrew_header=$(ls -1 $(brew --prefix 2>/dev/null)/Cellar/libarchive/*/include/archive.h 2>/dev/null | head -n1) + homebrew_header=$(ls -1 $(brew --prefix libarchive 2>/dev/null)/Cellar/libarchive/*/include/archive.h 2>/dev/null | head -n1) macports_header=/opt/local/include/archive.h if [[ -e $homebrew_header ]]; then # For use with Homebrew. |