diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-12-28 20:10:17 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-12-28 20:10:17 +0000 |
commit | 8080f0d48a23f9e450741cfd64d94694b37e2d7c (patch) | |
tree | d11cc68c836910f3e1dd49633d166aaf60d5a5e4 /tools/git-migration/add-security-tracker-bin-submodule | |
parent | 58f4ca98cad5657e7768d2fabee418a23fa7ee75 (diff) |
Add scripts to split security-tracker into data and "binaries"
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@59003 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'tools/git-migration/add-security-tracker-bin-submodule')
-rwxr-xr-x | tools/git-migration/add-security-tracker-bin-submodule | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/git-migration/add-security-tracker-bin-submodule b/tools/git-migration/add-security-tracker-bin-submodule new file mode 100755 index 0000000000..23a9de17a8 --- /dev/null +++ b/tools/git-migration/add-security-tracker-bin-submodule @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Wire up the security-tracker-bin submodule in security-tracker (the data) +# +# For the moment we create compat symlinks so everything stays in place. +# In the long run we should be able to get rid of most of them. +# +# This will be run only once when migrating from svn to git + +set -e + +SUBMODULE=security-tracker-bin + +# From salsa +#git submodule add ../${SUBMODULE} +# Local copy for testing +git submodule add file://$PWD/../$SUBMODULE + +git submodule update +for d in bin check-external lib static templates tools website; do + rm -f $d + ln -s $SUBMODULE/$d $d +done + +make check-syntax |