mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
32 lines
657 B
Batchfile
32 lines
657 B
Batchfile
@echo off
|
|
|
|
|
|
:: Set env vars
|
|
@call setenvvar.bat %*
|
|
|
|
::==========
|
|
:: MAIN
|
|
|
|
@echo Extracting pre-built ICU
|
|
%FB_ROOT_PATH%\extern\icu\icu.exe -y > make_icu_%FB_TARGET_PLATFORM%.log 2>&1
|
|
unzip -o %FB_ROOT_PATH%\extern\icu\icudt.zip -d %FB_ROOT_PATH%\extern\icu
|
|
if errorlevel 1 call :ERROR build failed - see make_icu_%FB_TARGET_PLATFORM%.log for details
|
|
|
|
@echo Extracting tzdata
|
|
unzip -o %FB_ROOT_PATH%\extern\icu\tzdata\le.zip -d %FB_ROOT_PATH%\extern\icu\tzdata-extract
|
|
|
|
@goto :EOF
|
|
|
|
|
|
:ERROR
|
|
::====
|
|
@echo.
|
|
@echo An error occurred while running make_icu.bat -
|
|
@echo %*
|
|
@echo.
|
|
set ERRLEV=1
|
|
cancel_script > nul 2>&1
|
|
::End of ERROR
|
|
::------------
|
|
@goto :EOF
|