summaryrefslogtreecommitdiffstats
path: root/tools/git-migration/add-security-tracker-bin-submodule
blob: 23a9de17a89c0942f6df98d9ede01bd0e6ef6e04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy