From a6bc06fa06bad1e27a9c9e2c9a03fc1255f1375d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerhard=20St=C3=B6bich?= Date: Tue, 6 May 2025 13:54:00 +0200 Subject: [PATCH] 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 Reviewed-By: Stefan Stojanovic Reviewed-By: Luigi Pinca --- vcbuild.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcbuild.bat b/vcbuild.bat index 9c21c390346..c79586325a2 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -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 )