Path: blob/master/Utilities/Scripts/update-libarchive.bash
5000 views
#!/usr/bin/env bash12set -e3set -x4shopt -s dotglob56readonly name="LibArchive"7readonly ownership="LibArchive Upstream <[email protected]>"8readonly subtree="Utilities/cmlibarchive"9readonly repo="https://github.com/libarchive/libarchive.git"10readonly tag="v3.8.5"11readonly shortlog=false12readonly exact_tree_match=false13readonly paths="14CMakeLists.txt15COPYING16CTestConfig.cmake17build/cmake18build/pkgconfig19build/utils20build/version21libarchive/*.*22"2324extract_source () {25git_archive26pushd "${extractdir}/${name}-reduced"27fromdos build/cmake/Find*.cmake28echo "* -whitespace" > .gitattributes29echo "" >> libarchive/archive_read_open_file.c30popd31}3233. "${BASH_SOURCE%/*}/update-third-party.bash"343536