GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: compare ICU checksums before file changes · nodejs/node@2fd78fc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/dep_updaters
    • update-icu.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/dep_updaters/update-icu.sh‎

Copy file name to clipboardExpand all lines: tools/dep_updaters/update-icu.sh
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,23 @@ NEW_VERSION_TGZ_URL="https://github.com/unicode-org/icu/releases/download/releas
4242

4343
NEW_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-
5145
CHECKSUM=$(curl -sL "$NEW_VERSION_MD5" | grep "$NEW_VERSION_TGZ" | grep -v "\.asc$" | awk '{print $1}')
5246

5347
GENERATED_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

5751
if [ "$CHECKSUM" != "$GENERATED_CHECKSUM" ]; then
5852
echo "Skipped because checksums do not match."
5953
exit 0
6054
fi
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+
6262
perl -i -pe "s|\"url\": .*|\"url\": \"$NEW_VERSION_TGZ_URL\",|" "$TOOLS_DIR/icu/current_ver.dep"
6363

6464
perl -i -pe "s|\"md5\": .*|\"md5\": \"$CHECKSUM\"|" "$TOOLS_DIR/icu/current_ver.dep"

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.