diff --git a/scripts/tools/version.bat b/scripts/tools/version.bat index 433192b90..153a6734d 100644 --- a/scripts/tools/version.bat +++ b/scripts/tools/version.bat @@ -9,8 +9,8 @@ SET HUDSON_BUILD_NUMBER=0 SET HUDSON_BUILD_ID=none SET REVISION=none -IF DEFINED %BUILD_ID% SET HUDSON_BUILD_ID=%BUILD_ID% -IF DEFINED %BUILD_NUMBER% SET HUDSON_BUILD_NUMBER=%BUILD_NUMBER% +IF DEFINED BUILD_ID SET HUDSON_BUILD_ID=%BUILD_ID% +IF DEFINED BUILD_NUMBER SET HUDSON_BUILD_NUMBER=%BUILD_NUMBER% SET Header=src\Include\version.h