mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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
287454298d
commit
7e4453fe93
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,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…
Add table
Add a link
Reference in a new issue