Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito committed Apr 5, 2023
1 parent f4b915c commit 6f313cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dep_updaters/update-zlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CURRENT_VERSION=$(grep "#define ZLIB_VERSION" "$DEPS_DIR/zlib/zlib.h" | sed -n "

NEW_VERSION_ZLIB_H=$(curl -s "https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/zlib/zlib.h?format=TEXT" | base64 --decode)

NEW_VERSION=$(grep "#define ZLIB_VERSION" <<< "$NEW_VERSION_ZLIB_H" | sed -n "s/^.*VERSION \"\(.*\)\"/\1/p")
NEW_VERSION=$(printf '%s' "$NEW_VERSION_ZLIB_H" | grep "#define ZLIB_VERSION" | sed -n "s/^.*VERSION \"\(.*\)\"/\1/p")

echo "Comparing $NEW_VERSION with $CURRENT_VERSION"

Expand Down

0 comments on commit 6f313cd

Please sign in to comment.