Skip to content

Commit

Permalink
lol - another try because why not
Browse files Browse the repository at this point in the history
  • Loading branch information
malkia committed Nov 26, 2024
1 parent c247ed4 commit 1139d5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion otel_sdk_build.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@echo off
setlocal

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
if "%__BAZEL__%"=="" IF EXIST "%LOCALAPPDATA%\Microsoft\WinGet\Links\bazelisk.exe" set __BAZEL__=%LOCALAPPDATA%\Microsoft\WinGet\Links\bazelisk.exe
if "%__BAZEL__%"=="" IF EXIST "%LOCALAPPDATA%\Microsoft\WinGet\Links\bazel.exe" set __BAZEL__=%LOCALAPPDATA%\Microsoft\WinGet\Links\bazel.exe
if "%__BAZEL__%"=="" goto:no-bazel

set PATH=
Expand Down

0 comments on commit 1139d5c

Please sign in to comment.