File: build_cmake.bat

package info (click to toggle)
modsecurity-apache 2.9.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,444 kB
  • sloc: ansic: 53,551; sh: 5,249; perl: 2,341; cpp: 1,930; makefile: 618; xml: 6
file content (20 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@cd "%WORK_DIR%"

@if NOT EXIST "%SOURCE_DIR%\%CMAKE%" goto file_not_found


@7z.exe x "%SOURCE_DIR%\%CMAKE%"
@if NOT (%ERRORLEVEL%) == (0) goto something_went_wrong

@exit /B 0

:file_not_found
@echo File not found: %SOURCE_DIR%\%CMAKE%
@goto failed

:something_went_wrong
@echo Something went wrong while unzip CMake files.
@goto failed

:failed
@exit /B 1