fix watcom check

WATCOM var may be defined in autoexec.bat, but this doesn't
mean the user wants to build with watcom.
Check the COMPILER="WATCOM" instead.
This commit is contained in:
Stas Sergeev 2016-10-03 00:38:02 +03:00 committed by PerditionC
parent 0b303a23b4
commit f4c9691ef5
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ call build -r tc 86 fat32
:***** (Open) Watcom kernels
if "%WATCOM%" == "" goto no_wc
if not "%COMPILER%" == "WATCOM" goto no_wc
call build -r wc 386 fat32
%ONERROR%
call build -r wc 386 fat16