Skip to content

Commit 48b2181

Browse files
committed
Merge branch 'ls/travis-homebrew-path-fix'
The procedure to build Git on Mac OS X for Travis CI hardcoded the internal directory structure we assumed HomeBrew uses, which was a no-no. The procedure has been updated to ask HomeBrew things we need to know to fix this. * ls/travis-homebrew-path-fix: travis-ci: ask homebrew for its path instead of hardcoding it
2 parents ebc6358 + f86f49b commit 48b2181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ before_install:
7878
FORMULA=$1
7979
SHA=$(brew fetch --force $FORMULA 2>&1 | grep ^SHA256: | cut -d ' ' -f 2)
8080
sed -E -i.bak "s/sha256 \"[0-9a-f]{64}\"/sha256 \"$SHA\"/g" \
81-
/usr/local/Library/Taps/homebrew/homebrew-binary/$FORMULA.rb
81+
"$(brew --repository homebrew/homebrew-binary)/$FORMULA.rb"
8282
}
8383
brew update --quiet
8484
brew tap homebrew/binary --quiet

0 commit comments

Comments
 (0)