Files
CMake/Utilities/Scripts/update-bzip2.bash
Thomas Braun cab14b9dfd bzip2: Prefer LF as EOL in dlltest.c
All other .c files have LF line endings, so there is no need to deviate
here.
2025-10-27 11:12:43 -04:00

29 lines
525 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="bzip2-1.0.8"
readonly shortlog=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"