| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
[ -e Makefile ] && make clean |
| 4 |
|
| 5 |
if true; then |
| 6 |
for mod in AnyEvent EV JSON-XS Deliantra BDB Compress-LZF Guard common-sense; do |
| 7 |
( |
| 8 |
cd /root/src/"$mod" |
| 9 |
make clean |
| 10 |
ssh vm mkdir -p /c/"$mod" |
| 11 |
rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del --exclude /pgrab |
| 12 |
) & |
| 13 |
done |
| 14 |
fi |
| 15 |
|
| 16 |
wait |
| 17 |
|
| 18 |
rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && |
| 19 |
#sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' |
| 20 |
ssh vm ' |
| 21 |
. ~/.setenv |
| 22 |
export ACTIVEPERL_CONFIG_DISABLE=1 |
| 23 |
export PERL_MM_USE_DEFAULT=1 |
| 24 |
|
| 25 |
cd /c/common-sense && /c/perl/bin/perl Makefile.PL && nmake install && |
| 26 |
cd /c/Guard && /c/perl/bin/perl Makefile.PL && nmake install && |
| 27 |
cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && |
| 28 |
cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && |
| 29 |
cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && |
| 30 |
cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && |
| 31 |
cd /c/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install && |
| 32 |
cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install && |
| 33 |
|
| 34 |
cd /c/CFClient && |
| 35 |
/c/perl/bin/perl Makefile.PL && |
| 36 |
nmake install && |
| 37 |
win32/ppwin && |
| 38 |
cp deliantra.exe /c/temp |
| 39 |
' && |
| 40 |
rsync -avessh vm:/c/CFClient/deliantra.exe . |
| 41 |
cp deliantra.exe /fs/dosx/todo/. & |
| 42 |
todata deliantra.exe |
| 43 |
wait |
| 44 |
|