We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c247ed4 commit 1139d5cCopy full SHA for 1139d5c
otel_sdk_build.cmd
@@ -1,7 +1,9 @@
1
@echo off
2
setlocal
3
4
-for /F "usebackq delims=" %%i in (`where bazelisk.exe bazel.exe`) do set __BAZEL__=%%i
+for /F "usebackq delims=" %%i in (`where bazelisk1.exe bazel1.exe`) do set __BAZEL__=%%i
5
+if "%__BAZEL__%"=="" IF EXIST "%LOCALAPPDATA%\Microsoft\WinGet\Links\bazelisk.exe" set __BAZEL__=%LOCALAPPDATA%\Microsoft\WinGet\Links\bazelisk.exe
6
+if "%__BAZEL__%"=="" IF EXIST "%LOCALAPPDATA%\Microsoft\WinGet\Links\bazel.exe" set __BAZEL__=%LOCALAPPDATA%\Microsoft\WinGet\Links\bazel.exe
7
if "%__BAZEL__%"=="" goto:no-bazel
8
9
set PATH=
0 commit comments