diff --git a/.githooks/post-checkout b/.githooks/post-checkout index 338d05b..0828942 100755 --- a/.githooks/post-checkout +++ b/.githooks/post-checkout @@ -15,8 +15,10 @@ for entryFileToSubstitute in $listFilesToSubstitute; do echo "${fileContent//${staticPathSubstitution}/${repoRoot}}" > "${fullPathSubstitute}" done -mv hw_platform/platform.tcl TMP +mv hw_platform/platform.tcl TMP1 +mv hw_platform/platform.tcl.gitsubstitute TMP2 rm -rf hw_platform mkdir hw_platform -mv TMP hw_platform/platform.tcl +mv TMP1 hw_platform/platform.tcl +mv TMP2 hw_platform/platform.tcl.gitsubstitute xsct hw_platform/platform.tcl