Path: blob/master/Utilities/Scripts/update-libarchive.bash
3148 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.7.9"11readonly shortlog=false12readonly paths="13CMakeLists.txt14COPYING15CTestConfig.cmake16build/cmake17build/pkgconfig18build/utils19build/version20libarchive/*.*21"2223extract_source () {24git_archive25pushd "${extractdir}/${name}-reduced"26fromdos build/cmake/Find*.cmake27echo "* -whitespace" > .gitattributes28echo "" >> libarchive/archive_read_open_file.c29popd30}3132. "${BASH_SOURCE%/*}/update-third-party.bash"333435