Skip to content

Commit 49993c5

Browse files
authored
Merge pull request #28683 from drodriguez/windows-switch-to-github-for-icu
[windows] Switch ICU4C from SourceForge to GitHub.
2 parents bec1279 + b368f7a commit 49993c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build-windows.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ setlocal enableextensions enabledelayedexpansion
2828
set icu_version_major=64
2929
set icu_version_minor=2
3030
set icu_version=%icu_version_major%_%icu_version_minor%
31-
set icu_version_dotted=%icu_version_major%.%icu_version_minor%
31+
set icu_version_dashed=%icu_version_major%-%icu_version_minor%
3232

3333
set "exitOnError=|| (exit /b)"
3434
set current_directory=%~dp0
@@ -101,7 +101,7 @@ endlocal
101101
setlocal enableextensions enabledelayedexpansion
102102

103103
set file_name=icu4c-%icu_version%-Win64-MSVC2017.zip
104-
curl -L -O -z %file_name% "http://download.icu-project.org/files/icu4c/%icu_version_dotted%/%file_name%" %exitOnError%
104+
curl -L -O "https://github.com/unicode-org/icu/releases/download/release-%icu_version_dashed%/%file_name%" %exitOnError%
105105
:: unzip warns about the paths in the zip using slashes, which raises the
106106
:: errorLevel to 1. We cannot use exitOnError, and have to ignore errors.
107107
unzip -o %file_name% -d "%source_root%\icu-%icu_version%"

0 commit comments

Comments
 (0)