Mercurial > hgrepos > Python2 > PyMuPDF
view mupdf-source/thirdparty/brotli/scripts/download_testdata.sh @ 31:baeb8bdeff3a
Fortify sources using _FORTIFY_SOURCE=3 and also apply -fno-delete-null-pointer-checks.
See: https://github.com/ossf/wg-best-practices-os-developers/issues/659.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 21 Sep 2025 13:11:30 +0200 |
| parents | b50eed0cc0ef |
| children |
line wrap: on
line source
#!/bin/bash set -x BROTLI_TAG=${BROTLI_TAG:-dev/null} BROTLI_TAG="${BROTLI_TAG//'/'/%2F}" # Escaping for tag names with slash (e.g. "dev/null") ARCHIVE=testdata.txz curl -L https://github.com/google/brotli/releases/download/${BROTLI_TAG}/${ARCHIVE} -o ${ARCHIVE} tar xvfJ ${ARCHIVE}
