summaryrefslogtreecommitdiffstats
path: root/Utilities/Scripts
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-04-20 16:53:59 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2017-04-20 19:35:17 (GMT)
commita139b81a52d6bfb33ea660dff2f89fdb8a2e8ace (patch)
tree73d269bfdc51f0c88b92e33a9d62630c7d46e61f /Utilities/Scripts
parente832c32ca821b04c8bfca80c5c07adca470ef000 (diff)
downloadCMake-a139b81a52d6bfb33ea660dff2f89fdb8a2e8ace.zip
CMake-a139b81a52d6bfb33ea660dff2f89fdb8a2e8ace.tar.gz
CMake-a139b81a52d6bfb33ea660dff2f89fdb8a2e8ace.tar.bz2
update-kwsys: apply changes made in CMake to the import
Diffstat (limited to 'Utilities/Scripts')
-rwxr-xr-xUtilities/Scripts/update-kwsys.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/Scripts/update-kwsys.bash b/Utilities/Scripts/update-kwsys.bash
index d5485aa..dfbd366 100755
--- a/Utilities/Scripts/update-kwsys.bash
+++ b/Utilities/Scripts/update-kwsys.bash
@@ -15,7 +15,8 @@ readonly paths="
extract_source () {
git_archive
- disable_custom_gitattributes
+ sed -i -e '/import off/,/import on/d' "$extractdir/$name-reduced/.gitattributes"
+ sed -i -e 's/project=KWSys/project=PublicDashboard/' "$extractdir/$name-reduced/CTestConfig.cmake"
}
export HOOKS_ALLOW_KWSYS=1