Skip to content

Commit 5f6b980

Browse files
committed
fix: create brew tap for cmake 2
1 parent 6831e6c commit 5f6b980

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ci/kokoro/macos/builds/cmake-vcpkg.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,19 @@ io::log_h2 "DEBUG: Brew doctor before update"
6363
io::log_h2 "DEBUG: Before brew install for cmake"
6464
(
6565
cd "${HOME}"
66-
mkdir homebrew-local-tap
67-
cd homebrew-local-tap
66+
mkdir -p user/homebrew-tap/Formula
67+
cd user/homebrew-tap
68+
6869
git init
69-
mkdir Formula
7070

7171
curl -fsSL -o cmake.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/fd21fcf239bcd0231c9fed5719403ec128151af4/Formula/cmake.rb
7272
mv cmake.rb ./Formula/
7373

7474
git add .
7575
git commit -m "Add CMake formula"
7676

77-
brew tap homebrew-local-tap "${HOME}/homebrew-local-tap"
78-
brew install --build-from-source homebrew-local-tap/cmake
77+
brew tap user/homebrew-tap "${HOME}/user/homebrew-tap"
78+
brew install --build-from-source user/homebrew-tap/cmake
7979
)
8080
io::log_h2 "DEBUG: After brew install for cmake"
8181

0 commit comments

Comments
 (0)