Files
CMake/Utilities/Scripts/update-bzip2.bash
Brad King 3babae3dc0 bzip2: Update import script to get bzip2-1.0.8-19-gaf35561
In particular, post-1.0.8 development removed use of `sprintf`.

Issue: #27925
2026-07-08 10:22:49 -04:00

30 lines
612 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="bzip2"
readonly ownership="bzip2 upstream <kwrobot@kitware.com>"
readonly subtree="Utilities/cmbzip2"
readonly repo="https://sourceware.org/git/bzip2.git"
readonly tag="af35561761f36e2ce27484ca6d376326a80ebd1d" # bzip2-1.0.8-19-gaf35561
readonly shortlog=false
readonly exact_tree_match=false
readonly paths="
LICENSE
README
*.c
*.h
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
echo "* -whitespace" > .gitattributes
fromdos dlltest.c
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"