update-bzip2.bash 557 B

1234567891011121314151617181920212223242526272829
  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 exact_tree_match=false
  12. readonly paths="
  13. LICENSE
  14. README
  15. *.c
  16. *.h
  17. "
  18. extract_source () {
  19. git_archive
  20. pushd "${extractdir}/${name}-reduced"
  21. echo "* -whitespace" > .gitattributes
  22. fromdos dlltest.c
  23. popd
  24. }
  25. . "${BASH_SOURCE%/*}/update-third-party.bash"