summaryrefslogtreecommitdiff
path: root/plugins/ShlExt/make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ShlExt/make.bat')
-rw-r--r--plugins/ShlExt/make.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/ShlExt/make.bat b/plugins/ShlExt/make.bat
index 2604241425..f97c5ed9a3 100644
--- a/plugins/ShlExt/make.bat
+++ b/plugins/ShlExt/make.bat
@@ -16,8 +16,10 @@ if not exist %OUTDIR% mkdir %OUTDIR%
md tmp
%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