Skip to content

Commit

Permalink
update var name
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Nov 27, 2024
1 parent a200513 commit 68bd06c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/dep_updaters/update-nghttp3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ cleanup () {
trap cleanup INT TERM EXIT

NGHTTP3_REF="v$NEW_VERSION"
NGHTTP3_ZIP="nghttp3-${NEW_VERSION}"
ARCHIVE_BASENAME="nghttp3-${NEW_VERSION}"

cd "$WORKSPACE"

echo "Fetching nghttp3 source archive..."
curl -sL -o "$NGHTTP3_ZIP.tar.xz" "/~https://github.com/ngtcp2/nghttp3/releases/download/${NGHTTP3_REF}/${NGHTTP3_ZIP}.tar.xz"
curl -sL -o "$ARCHIVE_BASENAME.tar.xz" "/~https://github.com/ngtcp2/nghttp3/releases/download/${NGHTTP3_REF}/${ARCHIVE_BASENAME}.tar.xz"
SHA256="$(curl -sL "/~https://github.com/ngtcp2/nghttp3/releases/download/${NGHTTP3_REF}/checksums.txt" | grep 'tar.xz$')"
log_and_verify_sha256sum "nghttp3" "$NGHTTP3_ZIP.tar.xz" "$SHA256"
tar -xJf "$NGHTTP3_ZIP.tar.xz"
rm "$NGHTTP3_ZIP.tar.xz"
mv "$NGHTTP3_ZIP" nghttp3
log_and_verify_sha256sum "nghttp3" "$ARCHIVE_BASENAME.tar.xz" "$SHA256"
tar -xJf "$ARCHIVE_BASENAME.tar.xz"
rm "$ARCHIVE_BASENAME.tar.xz"
mv "$ARCHIVE_BASENAME" nghttp3

cd nghttp3

Expand Down

0 comments on commit 68bd06c

Please sign in to comment.