Browse Source

win,nodevars: run iojs.exe to get node version

PR-URL: https://github.com/iojs/io.js/pull/263
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v1.8.0-commit
Bert Belder 10 years ago
parent
commit
156cd82ef4
  1. 2
      tools/msvs/nodevars.bat

2
tools/msvs/nodevars.bat

@ -7,7 +7,7 @@ setlocal enabledelayedexpansion
pushd "%~dp0" pushd "%~dp0"
rem Figure out the node version. rem Figure out the node version.
set print_version=.\node.exe -p -e "process.versions.node + ' (' + process.arch + ')'" set print_version=.\iojs.exe -p -e "process.versions.node + ' (' + process.arch + ')'"
for /F "usebackq delims=" %%v in (`%print_version%`) do set version=%%v for /F "usebackq delims=" %%v in (`%print_version%`) do set version=%%v
rem Print message. rem Print message.

Loading…
Cancel
Save