2005-05-28 00:45:31 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
|
2005-06-27 15:54:02 +02:00
|
|
|
:: Set env vars
|
|
|
|
@call setenvvar.bat
|
|
|
|
|
2007-02-26 16:18:41 +01:00
|
|
|
@call set_build_target.bat %* icu
|
2005-06-27 15:54:02 +02:00
|
|
|
|
|
|
|
::==========
|
|
|
|
:: MAIN
|
|
|
|
|
2014-02-24 17:23:16 +01:00
|
|
|
@echo Extracting pre-built ICU
|
2015-09-17 11:44:41 +02:00
|
|
|
%FB_ROOT_PATH%\extern\icu\icu.exe -y > make_icu_%FB_TARGET_PLATFORM%.log 2>&1
|
2007-02-26 16:18:41 +01:00
|
|
|
if errorlevel 1 call :ERROR build failed - see make_icu_%FB_TARGET_PLATFORM%.log for details
|
2005-06-27 15:54:02 +02:00
|
|
|
|
2020-01-14 16:40:25 +01:00
|
|
|
@echo Extracting tzdata
|
|
|
|
mkdir %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\tzdata
|
2020-01-21 16:57:31 +01:00
|
|
|
call zipjs.bat unzip -source "%FB_LONG_ROOT_PATH%\extern\icu\tzdata\le.zip" -destination %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\tzdata -keep yes
|
2020-01-14 16:40:25 +01:00
|
|
|
|
|
|
|
@goto :EOF
|
2005-06-27 15:54:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
: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
|