update-bzip2.bash 525 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. shopt -s dotglob
  5. readonly name="bzip2"
  6. readonly ownership="bzip2 upstream <[email protected]>"
  7. readonly subtree="Utilities/cmbzip2"
  8. readonly repo="https://sourceware.org/git/bzip2.git"
  9. readonly tag="bzip2-1.0.8"
  10. readonly shortlog=false
  11. readonly paths="
  12. LICENSE
  13. README
  14. *.c
  15. *.h
  16. "
  17. extract_source () {
  18. git_archive
  19. pushd "${extractdir}/${name}-reduced"
  20. echo "* -whitespace" > .gitattributes
  21. fromdos dlltest.c
  22. popd
  23. }
  24. . "${BASH_SOURCE%/*}/update-third-party.bash"