Skip to content

Commit c3bdce7

Browse files
committed
Change from /var/local to /usr/local to download cmake as the path is not writable.
1 parent f6fa6f0 commit c3bdce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildscripts/kokoro/android.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ rm cmdline.zip
3131
mv "${ANDROID_HOME}/cmdline-tools/cmdline-tools" "${ANDROID_HOME}/cmdline-tools/latest"
3232
(yes || true) | "${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager" --licenses
3333
curl -Ls https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-linux-x86_64.tar.gz | \
34-
tar xz -C /var/local
35-
export PATH=/var/local/cmake-3.26.3-linux-x86_64/bin:$PATH
34+
tar xz -C /usr/local
35+
export PATH=/usr/local/cmake-3.26.3-linux-x86_64/bin:$PATH
3636

3737
# Proto deps
3838
buildscripts/make_dependencies.sh

0 commit comments

Comments
 (0)