We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8ba672 commit 9711bc2Copy full SHA for 9711bc2
tools/dep_updaters/update-icu.sh
@@ -55,9 +55,9 @@ if [ "$CHECKSUM" != "$GENERATED_CHECKSUM" ]; then
55
exit 0
56
fi
57
58
-sed -i '' -e "s|\"url\": \"\(.*\)\".*|\"url\": \"$NEW_VERSION_TGZ_URL\",|" "$TOOLS_DIR/icu/current_ver.dep"
+perl -i -pe "s|\"url\": .*|\"url\": \"$NEW_VERSION_TGZ_URL\",|" "$TOOLS_DIR/icu/current_ver.dep"
59
60
-sed -i '' -e "s|\"md5\": \"\(.*\)\".*|\"md5\": \"$CHECKSUM\"|" "$TOOLS_DIR/icu/current_ver.dep"
+perl -i -pe "s|\"md5\": .*|\"md5\": \"$CHECKSUM\"|" "$TOOLS_DIR/icu/current_ver.dep"
61
62
rm -rf out "$DEPS_DIR/icu" "$DEPS_DIR/icu4c*"
63
0 commit comments