aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbriangladman <brg@gladman.plus.com>2013-11-13 12:24:21 +0000
committerbriangladman <brg@gladman.plus.com>2013-11-13 12:24:21 +0000
commitaba12e73f4a4a6c6b84d9f99682bc78540de7d71 (patch)
tree2a2f7e870bd18bc3c4303d2f7565786f5556ccc7
parent964fd9a016a0c34525ef2a1f335a0ed44f57c550 (diff)
downloadyasm-aba12e73f4a4a6c6b84d9f99682bc78540de7d71.tar.gz
Minor change to Python detection in the Visual Studio build to avoid spurious error message
-rw-r--r--Mkfiles/vc10/genperf/run.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mkfiles/vc10/genperf/run.bat b/Mkfiles/vc10/genperf/run.bat
index 775f1d0a..f67049da 100644
--- a/Mkfiles/vc10/genperf/run.bat
+++ b/Mkfiles/vc10/genperf/run.bat
@@ -1,14 +1,14 @@
cd ..\..\..
@echo off
-for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Applications\python.exe\shell\open\command`) do (set _my_=%%f %%g)
+for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Applications\python.exe\shell\open\command 2^>NUL`) do (set _my_=%%f %%g)
goto try1%errorlevel%
:try10
goto ok
:try11
-for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Python.File\shell\open\command`) do (set _my_=%%f %%g)
+for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Python.File\shell\open\command 2^>NUL`) do (set _my_=%%f %%g)
goto try2%errorlevel%
:try20: