Blame iis/dependencies/build_apache.bat
|
Packit Service |
384592 |
@cd "%WORK_DIR%"
|
|
Packit Service |
384592 |
@set APACHE=%WORK_DIR%\Apache24
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
@if NOT EXIST "%SOURCE_DIR%\%APACHE_BIN%" goto file_not_found_bin
|
|
Packit Service |
384592 |
@if NOT EXIST "%SOURCE_DIR%\%APACHE_SRC%" goto file_not_found_src
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
@7z.exe x "%SOURCE_DIR%\%APACHE_BIN%"
|
|
Packit Service |
384592 |
@if NOT (%ERRORLEVEL%) == (0) goto something_went_wrong
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
@7z.exe x "%SOURCE_DIR%\%APACHE_SRC%" -so | 7z.exe x -aoa -si -ttar
|
|
Packit Service |
384592 |
@if NOT (%ERRORLEVEL%) == (0) goto something_went_wrong
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:: Missing: %APACHE%\bin\libapr-1.pdb %APACHE%\bin\libapr-1.lib ?
|
|
Packit Service |
384592 |
copy /y "%APACHE%\bin\libapr-1.dll" "%OUTPUT_DIR%"
|
|
Packit Service |
384592 |
@if NOT (%ERRORLEVEL%) == (0) goto something_went_wrong_copy
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:: Missing: %APACHE%\bin\libapriconv-1.pdb %APACHE%\lib\libapriconv-1.lib ?
|
|
Packit Service |
384592 |
copy /y "%APACHE%\bin\libapriconv-1.dll" "%OUTPUT_DIR%"
|
|
Packit Service |
384592 |
@if NOT (%ERRORLEVEL%) == (0) goto something_went_wrong_copy
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:: Missing: %APACHE%\bin\libaprutil-1.pdb %APACHE%\lib\libaprutil-1.lib ?
|
|
Packit Service |
384592 |
copy /y "%APACHE%\bin\libaprutil-1.dll" "%OUTPUT_DIR%"
|
|
Packit Service |
384592 |
@if NOT (%ERRORLEVEL%) == (0) goto something_went_wrong_copy
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
@cd "%WORK_DIR%"
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
@exit /B 0
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:something_went_wrong_copy
|
|
Packit Service |
384592 |
@echo Something went wrong while trying to copy Apache binaries files.
|
|
Packit Service |
384592 |
@goto failed
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:file_not_found_bin
|
|
Packit Service |
384592 |
@echo File not found: %SOURCE_DIR%\%APACHE_BIN%
|
|
Packit Service |
384592 |
@goto failed
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:file_not_found_src
|
|
Packit Service |
384592 |
@echo File not found: %SOURCE_DIR%\%APACHE_SRC%
|
|
Packit Service |
384592 |
@goto failed
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:something_went_wrong
|
|
Packit Service |
384592 |
@echo Something went wrong while unzip Apache files.
|
|
Packit Service |
384592 |
@goto failed
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
:failed
|
|
Packit Service |
384592 |
@exit /B 1
|
|
Packit Service |
384592 |
|