Browse Source

update-kwsys: apply changes made in CMake to the import

Ben Boeckel 8 years ago
parent
commit
a139b81a52
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Utilities/Scripts/update-kwsys.bash

+ 2 - 1
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