We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 289733b commit 510caaaCopy full SHA for 510caaa
server/extlibs/apply-patches.cmd
@@ -3,9 +3,13 @@
3
@set src_dir=%~dp0%1
4
5
@call :apply_patches "%src_dir%\patches"
6
+if %errorlevel% neq 0 goto :error
7
@call :apply_patches "%src_dir%\patches.windows"
8
9
@call :copy_files "%src_dir%\files"
10
11
@call :copy_files "%src_dir%\files.windows"
12
13
14
@goto :end
15
@@ -28,6 +32,9 @@
28
32
:usage
29
33
@echo usage: %~nx0 target
30
34
@echo.
31
-@cmd /c exit 1
35
+@exit /b 1
36
+
37
+:error
38
+@exit /b %errorlevel%
39
40
:end
0 commit comments