1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-05-03 17:20:12 +00:00

correcting choice usage

The choice command reports to the environment variable ERRORLEVEL, not to errlevel.

Signed-off-by: Brickviking <brickviking@gmail.com>
This commit is contained in:
Brickviking 2022-09-11 01:09:54 +12:00 committed by GitHub
parent 36c7cc9798
commit 6c3bb78dd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86"
:choose
choice /c 12 /M "Use (1) 64-bit or (2) 32-bit MINGW? "
if errlevel == 1 goto chose64
if errorlevel == 1 goto chose64
goto chose32
:chose32