Skip to content

Commit

Permalink
tools: fix lint double quote
Browse files Browse the repository at this point in the history
  • Loading branch information
fasenderos committed May 21, 2023
1 parent c9797ab commit a876334
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/dep_updaters/update-nghttp2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ NGHTTP2_TARBALL="nghttp2-$NEW_VERSION.tar.gz"
cd "$WORKSPACE"

echo "Fetching nghttp2 source archive"
SOURCE_CHECKSUM=$(curl -sL "https://github.com/nghttp2/nghttp2/releases/download/$NGHTTP2_REF/checksums.txt" | grep $NGHTTP2_TARBALL)
curl -sL -o "$NGHTTP2_TARBALL" "https://github.com/nghttp2/nghttp2/releases/download/$NGHTTP2_REF/$NGHTTP2_TARBALL"
ARCHIVE_CHECKSUM=$(shasum -a256 $NGHTTP2_TARBALL)

SOURCE_CHECKSUM=$(curl -sL "https://github.com/nghttp2/nghttp2/releases/download/$NGHTTP2_REF/checksums.txt" | grep "$NGHTTP2_TARBALL")
ARCHIVE_CHECKSUM=$(shasum -a256 "$NGHTTP2_TARBALL")

if [ "$SOURCE_CHECKSUM" = "$ARCHIVE_CHECKSUM" ]; then
echo "Valid nghttp2 checksum $SOURCE_CHECKSUM"
Expand Down

0 comments on commit a876334

Please sign in to comment.