소스 검색

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