]> dev.renevier.net Git - syj.git/blob - scripts/init.sh
bbb8817c0bf07669e94ce0f2487213e10baf69b7
[syj.git] / scripts / init.sh
1 #!/bin/sh
2
3 git submodule update --init
4
5 git submodule -q foreach "
6     if ls -A $PWD/patches/\${name##*/} >/dev/null 2>&1; then
7         git checkout master
8         git am $PWD/patches/\${name##*/}/*
9     fi
10 "
11
12 sh scripts/updatezend.sh
13 sh scripts/reset.postgres.sh -g