aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-03-25 12:02:22 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-03-25 12:07:52 +0000
commit9a0dc1b222269c527942749c2990efabba38fb9b (patch)
tree18049a60a2d0406a4b83d2d4f387fd7e09b92e59 /compile.sh
parentd9b2b868822b573fa5836f0235223bc5373d1e61 (diff)
Fixed compile.sh with homebrew on OS X
A previous commit was incomplete. -- MOS_MIGRATED_REVID=89490186
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index 488fc801ef..67dc7a190c 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 libarchive 2>/dev/null)/Cellar/libarchive/*/include/archive.h 2>/dev/null | head -n1)
+ homebrew_header=$(ls -1 $(brew --prefix libarchive 2>/dev/null)/include/archive.h 2>/dev/null | head -n1)
macports_header=/opt/local/include/archive.h
if [[ -e $homebrew_header ]]; then
# For use with Homebrew.