Fix setup-env.bat (#1659)

* Do not assume bazel is in the C drive

* Quote PATH

* make path separator consistent (dae)
This commit is contained in:
Abdo 2022-02-12 03:10:24 +03:00 committed by GitHub
parent f61c64dd34
commit af93d8a124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ pushd "%~dp0"\..
REM add msys/bazel to path if they're not already on it
where /q bazel || (
set PATH=c:\msys64\usr\bin;c:\bazel;%PATH%
set PATH=c:\msys64\usr\bin;\bazel;"%PATH%"
)
if not exist windows.bazelrc (