File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+ set -x
5+ shopt -s dotglob
6+
7+ readonly name=" expat"
8+ readonly ownership=" Expat Upstream <kwrobot@kitware.com>"
9+ readonly subtree=" Modules/ThirdParty/Expat/src/itk$name "
10+ readonly repo=" https://github.com/libexpat/libexpat.git"
11+ readonly tag=" R_2_7_2"
12+ readonly paths="
13+ expat/CMakeLists.txt
14+ expat/ConfigureChecks.cmake
15+ expat/COPYING
16+ expat/expat_config.h.cmake
17+
18+ expat/lib/*.h
19+ expat/lib/*.c
20+ "
21+
22+ extract_source () {
23+ git_archive
24+ pushd " ${extractdir} /${name} -reduced"
25+ echo " * -whitespace" >> .gitattributes
26+ mv expat/* .
27+ rmdir expat
28+ fromdos ConfigureChecks.cmake CMakeLists.txt expat_config.h.cmake
29+ chmod a-x ConfigureChecks.cmake CMakeLists.txt expat_config.h.cmake
30+ popd
31+ }
32+
33+ . " ${BASH_SOURCE%/* } /../../../Utilities/Maintenance/update-third-party.bash"
You can’t perform that action at this time.
0 commit comments