From 1139d5c958c7d229f3ce7a61e63e166bc218a769 Mon Sep 17 00:00:00 2001 From: Dimiter 'malkia' Stanev Date: Mon, 25 Nov 2024 19:58:11 -0800 Subject: [PATCH] lol - another try because why not --- otel_sdk_build.cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/otel_sdk_build.cmd b/otel_sdk_build.cmd index 707a1db5cd..90dc7fe4b4 100644 --- a/otel_sdk_build.cmd +++ b/otel_sdk_build.cmd @@ -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=