mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Refactoring of IIS build scripts
This commit is contained in:
committed by
Felipe Zimmerle
parent
61bce8d9a9
commit
1e8b4669eb
20
iis/dependencies/build_cmake.bat
Normal file
20
iis/dependencies/build_cmake.bat
Normal file
@@ -0,0 +1,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
|
Reference in New Issue
Block a user