Files
CMake/Utilities/Scripts/update-kwsys.bash
Brad King 6449063784 update-kwsys: Disable custom gitattributes during import
The KWSys `.gitattributes` file now defines custom attributes.
Git does not support these in a subdirectory where we are about
to place the content, so comment them out during import.
This also ensures that the `our-c-style` attribute on KWSys
sources does not activate the `format.clang-format` attribute
on the third-party import branch.
2017-03-24 15:16:39 -04:00

24 lines
435 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="KWSys"
readonly ownership="KWSys Upstream <kwrobot@kitware.com>"
readonly subtree="Source/kwsys"
readonly repo="https://gitlab.kitware.com/utils/kwsys.git"
readonly tag="master"
readonly shortlog=true
readonly paths="
"
extract_source () {
git_archive
disable_custom_gitattributes
}
export HOOKS_ALLOW_KWSYS=1
. "${BASH_SOURCE%/*}/update-third-party.bash"