diff options
author | Brad King <brad.king@kitware.com> | 2016-05-02 14:17:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-02 14:25:15 (GMT) |
commit | 91e6da10eb8b9bfd046472cd06382b13f7b47fe3 (patch) | |
tree | 37119c16a43a9c9929d4bc486478a824a3967a1c /Utilities | |
parent | 24b2a36778fd65f7066a964cf9f5d249f8e0f101 (diff) | |
download | CMake-91e6da10eb8b9bfd046472cd06382b13f7b47fe3.zip CMake-91e6da10eb8b9bfd046472cd06382b13f7b47fe3.tar.gz CMake-91e6da10eb8b9bfd046472cd06382b13f7b47fe3.tar.bz2 |
Add script to update LibArchive from upstream
Diffstat (limited to 'Utilities')
-rwxr-xr-x | Utilities/Scripts/update-libarchive.bash | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Utilities/Scripts/update-libarchive.bash b/Utilities/Scripts/update-libarchive.bash new file mode 100755 index 0000000..3b42269 --- /dev/null +++ b/Utilities/Scripts/update-libarchive.bash @@ -0,0 +1,31 @@ +#!/usr/bin/env bash + +set -e +set -x +shopt -s dotglob + +readonly name="LibArchive" +readonly ownership="LibArchive Upstream <libarchive-discuss@googlegroups.com>" +readonly subtree="Utilities/cmlibarchive" +readonly repo="https://github.com/libarchive/libarchive.git" +readonly tag="master" +readonly shortlog=false +readonly paths=" + CMakeLists.txt + COPYING + CTestConfig.cmake + build/cmake + build/pkgconfig + build/utils + build/version + libarchive/*.* +" + +extract_source () { + git_archive + pushd "${extractdir}/${name}-reduced" + fromdos build/cmake/Find*.cmake + popd +} + +. "${BASH_SOURCE%/*}/update-third-party.bash" |