mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Minor change to Python detection in the Visual Studio build to avoid spurious error message
This commit is contained in:
parent
964fd9a016
commit
aba12e73f4
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue