1 | #!/bin/bash |
1 | #!/bin/bash |
2 | |
2 | |
3 | [ -e Makefile ] && make clean |
3 | [ -e Makefile ] && make clean |
4 | |
4 | |
|
|
5 | if true; then |
5 | for mod in AnyEvent EV JSON-XS Crossfire BDB; do |
6 | for mod in AnyEvent EV JSON-XS Deliantra BDB; do |
6 | ( |
7 | ( |
7 | cd /root/src/"$mod" |
8 | cd /root/src/"$mod" |
8 | make clean |
9 | make clean |
9 | rsync -avPessh --modify-window=1 /root/src/"$mod" vm:/c/. --del |
10 | rsync -avPessh --modify-window=1 /root/src/"$mod" vm:/c/. --del |
10 | ) & |
11 | ) & |
11 | done |
12 | done |
|
|
13 | fi |
12 | |
14 | |
13 | wait |
15 | wait |
14 | |
16 | |
15 | ( |
17 | ( |
16 | cd ../Crossfire || exit 69 |
18 | cd ../Deliantra || exit 69 |
17 | [ -e Makefile ] && make clean |
19 | [ -e Makefile ] && make clean |
18 | rsync -avessh --modify-window=1 . vm:/c/Crossfire/. |
20 | rsync -avessh --modify-window=1 . vm:/c/Crossfire/. |
19 | ) && |
21 | ) && |
20 | rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && |
22 | rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && |
21 | #sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' |
23 | #sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' |
… | |
… | |
40 | nmake install && |
42 | nmake install && |
41 | win32/ppwin && |
43 | win32/ppwin && |
42 | cp deliantra.exe /c/temp |
44 | cp deliantra.exe /c/temp |
43 | ' && |
45 | ' && |
44 | rsync -avessh vm:/c/CFClient/deliantra.exe . |
46 | rsync -avessh vm:/c/CFClient/deliantra.exe . |
|
|
47 | cp deliantra.exe /fs/dosx/todo/. & |
45 | todata deliantra.exe |
48 | todata deliantra.exe |
|
|
49 | wait |
46 | |
50 | |