build: escape > metachar in vcbuild
Escape the > metachar in vcbuild.bat to avoid that a file named as the major node version number is created. PR-URL: https://github.com/nodejs/node/pull/58157 Refs: https://github.com/nodejs/node/pull/57991 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
7e24ebc780
commit
a6bc06fa06
@ -241,7 +241,7 @@ call :getnodeversion || exit /b 1
|
||||
set NODE_MAJOR_VERSION=
|
||||
for /F "tokens=1 delims=." %%i in ("%NODE_VERSION%") do set "NODE_MAJOR_VERSION=%%i"
|
||||
if %NODE_MAJOR_VERSION% GEQ 24 (
|
||||
echo Using ClangCL because the Node.js version being compiled is >= 24.
|
||||
echo Using ClangCL because the Node.js version being compiled is ^>= 24.
|
||||
set clang_cl=1
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user