From 156cd82ef4d2ff4fa291407de562c3a7c2386dc7 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 8 Jan 2015 16:18:23 +0100 Subject: [PATCH] win,nodevars: run iojs.exe to get node version PR-URL: https://github.com/iojs/io.js/pull/263 Reviewed-By: Ben Noordhuis --- tools/msvs/nodevars.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/msvs/nodevars.bat b/tools/msvs/nodevars.bat index 064f83cbc85..2941b81be4f 100644 --- a/tools/msvs/nodevars.bat +++ b/tools/msvs/nodevars.bat @@ -7,7 +7,7 @@ setlocal enabledelayedexpansion pushd "%~dp0" 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 rem Print message.