summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-11-11 12:08:24 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-11-11 12:09:48 -0800
commit895fa3a56bd74d7bbf6ee575408ab659ee51085c (patch)
tree0b8dcbfe3b7d7da5d177bb7c5c3fa1d76503a50c /vcbuild.bat
parente0f10ecfd9a3d957398382a51f664b1562501a7e (diff)
downloadnode-895fa3a56bd74d7bbf6ee575408ab659ee51085c.tar.gz
Simplify and move getnodeversion.py
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 1f9713126..589762e44 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -75,7 +75,7 @@ if errorlevel 1 goto exit
:msi
@rem Skip msi generation if not requested
if not defined msi goto run
-python "%~dp0tools\msvs\msi\getnodeversion.py" < "%~dp0src\node_version.h" > "%temp%\node_version.txt"
+python "%~dp0tools\getnodeversion.py" > "%temp%\node_version.txt"
if not errorlevel 0 echo Cannot determine current version of node.js & goto exit
for /F "tokens=*" %%i in (%temp%\node_version.txt) do set NODE_VERSION=%%i
msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /t:Clean,Build /p:Configuration=%config% /p:NodeVersion=%NODE_VERSION% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo