blob: c378296843fcea2c31a37633000dd28d0df4e096 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#!/bin/bash
CMD="$1"
if [[ -z "${CMD}" ]]; then
export CMD="default"
fi
if [[ "${CMD}" == "all" || "${CMD}" == "default" ]]; then
git clone git@gitorious.org:evol/clientdata.git client-data
git clone git@gitorious.org:evol/hercules.git server-code
git clone git@gitorious.org:evol/serverdata.git server-data
git clone git@gitorious.org:evol/evol-tools.git tools
git clone git@gitorious.org:evol/evol-hercules.git server-code/src/evol
git clone git@gitorious.org:evol/evol-local.git server-local
ln -s server-code/src/evol server-plugin
elif [[ "${CMD}" == "server" ]]; then
git clone git@gitorious.org:evol/hercules.git server-code
git clone git@gitorious.org:evol/serverdata.git server-data
git clone git@gitorious.org:evol/evol-hercules.git server-code/src/evol
ln -s server-code/src/evol server-plugin
elif [[ "${CMD}" == "client" ]]; then
git clone git@gitorious.org:evol/clientdata.git client-data
git clone git@gitorious.org:evol/evol-tools.git tools
elif [[ "${CMD}" == "music" ]]; then
git clone git@gitorious.org:evol/evol-music.git music
elif [[ "${CMD}" == "local" ]]; then
git clone git@gitorious.org:evol/evol-local.git server-local
git clone git@gitorious.org:evol/hercules.git server-code
git clone git@gitorious.org:evol/serverdata.git server-data
git clone git@gitorious.org:evol/evol-hercules.git server-code/src/evol
ln -s server-code/src/evol server-plugin
elif [[ "${CMD}" == "tools" ]]; then
git clone git@gitorious.org:evol/evol-tools.git tools
elif [[ "${CMD}" == "manaplus" ]]; then
git clone git@gitorious.org:manaplus/manaplus.git manaplus
fi
if [[ "${CMD}" == "all" ]]; then
git clone git@gitorious.org:evol/evol-music.git music
git clone git@gitorious.org:manaplus/manaplus.git manaplus
fi
|