@@ -89,12 +89,10 @@ if defined noprojgen goto msbuild
89
89
90
90
if defined NIGHTLY set TAG = nightly-%NIGHTLY%
91
91
92
- if not defined PYTHON set PYTHON = python
93
-
94
92
@ rem Generate the VS project.
95
93
SETLOCAL
96
94
if defined VS100COMNTOOLS call " %VS100COMNTOOLS% \VCVarsQueryRegistry.bat"
97
- " %PYTHON% " configure %download_arg% %i18n_arg% %debug_arg% %snapshot_arg% %noetw_arg% %noperfctr_arg% --dest-cpu=%target_arch% --tag=%TAG%
95
+ python configure %download_arg% %i18n_arg% %debug_arg% %snapshot_arg% %noetw_arg% %noperfctr_arg% --dest-cpu=%target_arch% --tag=%TAG%
98
96
if errorlevel 1 goto create-msvs-files-failed
99
97
if not exist node.sln goto create-msvs-files-failed
100
98
echo Project files generated.
@@ -176,14 +174,14 @@ if "%config%"=="Release" set test_args=--mode=release %test_args%
176
174
echo running 'cctest'
177
175
" %config% \cctest"
178
176
echo running 'python tools/test.py %test_args% '
179
- " %PYTHON% " tools/test.py %test_args%
177
+ python tools/test.py %test_args%
180
178
goto jslint
181
179
182
180
:jslint
183
181
if not defined jslint goto exit
184
182
echo running jslint
185
183
set PYTHONPATH = tools/closure_linter/;tools/gflags/
186
- " %PYTHON% " tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
184
+ python tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
187
185
goto exit
188
186
189
187
:create-msvs-files-failed
@@ -208,6 +206,6 @@ rem ***************
208
206
209
207
:getnodeversion
210
208
set NODE_VERSION =
211
- for /F " usebackq tokens=*" %%i in (`" %PYTHON% " " %~dp0 tools\getnodeversion.py" `) do set NODE_VERSION = %%i
209
+ for /F " usebackq tokens=*" %%i in (`python " %~dp0 tools\getnodeversion.py" `) do set NODE_VERSION = %%i
212
210
if not defined NODE_VERSION echo Cannot determine current version of io.js & exit /b 1
213
211
goto :EOF
0 commit comments