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:
Gerhard Stöbich 2025-05-06 13:54:00 +02:00 committed by GitHub
parent 7e24ebc780
commit a6bc06fa06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
)