File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,23 +42,23 @@ NEW_VERSION_TGZ_URL="https://github.com/unicode-org/icu/releases/download/releas
4242
4343NEW_VERSION_MD5=" https://github.com/unicode-org/icu/releases/download/release-${DASHED_NEW_VERSION} /icu4c-${LOW_DASHED_NEW_VERSION} -src.md5"
4444
45- ./configure --with-intl=full-icu --with-icu-source=" $NEW_VERSION_TGZ_URL "
46-
47- " $TOOLS_DIR /icu/shrink-icu-src.py"
48-
49- rm -rf " $DEPS_DIR /icu"
50-
5145CHECKSUM=$( curl -sL " $NEW_VERSION_MD5 " | grep " $NEW_VERSION_TGZ " | grep -v " \.asc$" | awk ' {print $1}' )
5246
5347GENERATED_CHECKSUM=$( curl -sL " $NEW_VERSION_TGZ_URL " | md5sum | cut -d ' ' -f1)
5448
55- echo " Comparing checksums: deposited $CHECKSUM with $GENERATED_CHECKSUM "
49+ echo " Comparing checksums: deposited ' $CHECKSUM ' with ' $GENERATED_CHECKSUM ' "
5650
5751if [ " $CHECKSUM " != " $GENERATED_CHECKSUM " ]; then
5852 echo " Skipped because checksums do not match."
5953 exit 0
6054fi
6155
56+ ./configure --with-intl=full-icu --with-icu-source=" $NEW_VERSION_TGZ_URL "
57+
58+ " $TOOLS_DIR /icu/shrink-icu-src.py"
59+
60+ rm -rf " $DEPS_DIR /icu"
61+
6262perl -i -pe " s|\" url\" : .*|\" url\" : \" $NEW_VERSION_TGZ_URL \" ,|" " $TOOLS_DIR /icu/current_ver.dep"
6363
6464perl -i -pe " s|\" md5\" : .*|\" md5\" : \" $CHECKSUM \" |" " $TOOLS_DIR /icu/current_ver.dep"
You can’t perform that action at this time.
0 commit comments