瀏覽代碼

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

Ben Boeckel 8 年之前
父節點
當前提交
a139b81a52
共有 1 個文件被更改,包括 2 次插入1 次删除
  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