File tree 1 file changed +7
-7
lines changed
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
42
42
43
43
NEW_VERSION_MD5=" https://github.com/unicode-org/icu/releases/download/release-${DASHED_NEW_VERSION} /icu4c-${LOW_DASHED_NEW_VERSION} -src.md5"
44
44
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
-
51
45
CHECKSUM=$( curl -sL " $NEW_VERSION_MD5 " | grep " $NEW_VERSION_TGZ " | grep -v " \.asc$" | awk ' {print $1}' )
52
46
53
47
GENERATED_CHECKSUM=$( curl -sL " $NEW_VERSION_TGZ_URL " | md5sum | cut -d ' ' -f1)
54
48
55
- echo " Comparing checksums: deposited $CHECKSUM with $GENERATED_CHECKSUM "
49
+ echo " Comparing checksums: deposited ' $CHECKSUM ' with ' $GENERATED_CHECKSUM ' "
56
50
57
51
if [ " $CHECKSUM " != " $GENERATED_CHECKSUM " ]; then
58
52
echo " Skipped because checksums do not match."
59
53
exit 0
60
54
fi
61
55
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
+
62
62
perl -i -pe " s|\" url\" : .*|\" url\" : \" $NEW_VERSION_TGZ_URL \" ,|" " $TOOLS_DIR /icu/current_ver.dep"
63
63
64
64
perl -i -pe " s|\" md5\" : .*|\" md5\" : \" $CHECKSUM \" |" " $TOOLS_DIR /icu/current_ver.dep"
You can’t perform that action at this time.
0 commit comments