summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/icons/make.bat1
-rw-r--r--plugins/Watrack/make.bat2
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Watrack/icons/make.bat b/plugins/Watrack/icons/make.bat
index 95f90dcca6..b53e963672 100644
--- a/plugins/Watrack/icons/make.bat
+++ b/plugins/Watrack/icons/make.bat
@@ -14,3 +14,4 @@ if /i '%3' == '' (set asm=tasm) else set asm=%3
cd %asm%
call icons.bat %pack% ..\iconsets\%iconpack% %4 %5 %6 %7 %8 %9
cd ..\
+exit /b 0
diff --git a/plugins/Watrack/make.bat b/plugins/Watrack/make.bat
index 5fa64f556e..b0523071f9 100644
--- a/plugins/Watrack/make.bat
+++ b/plugins/Watrack/make.bat
@@ -27,8 +27,10 @@ rem brcc32.exe status\status.rc -fostatus\status.res
rem brcc32.exe templates\templates.rc -fotemplates\templates.res
%FPCBIN% @..\Utils.pas\fpc.cfg %PROJECT%.dpr %3 %4 %5 %6 %7 %8 %9
+if errorlevel 1 exit /b 1
move .\tmp\%PROJECT%.dll %OUTDIR%
move .\tmp\%PROJECT%.map .
del /Q .\tmp\*
rd tmp
+exit /b 0