1 |
root |
1.1 |
#!/bin/bash |
2 |
|
|
|
3 |
|
|
[ -e Makefile ] && make clean |
4 |
root |
1.3 |
|
5 |
root |
1.15 |
if true; then |
6 |
root |
1.22 |
for mod in AnyEvent EV JSON-XS Deliantra BDB Compress-LZF Guard common-sense; do |
7 |
root |
1.15 |
( |
8 |
|
|
cd /root/src/"$mod" |
9 |
|
|
make clean |
10 |
root |
1.20 |
ssh vm mkdir -p /c/"$mod" |
11 |
|
|
rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del --exclude /pgrab |
12 |
root |
1.15 |
) & |
13 |
|
|
done |
14 |
|
|
fi |
15 |
root |
1.13 |
|
16 |
|
|
wait |
17 |
|
|
|
18 |
root |
1.11 |
rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && |
19 |
root |
1.8 |
#sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' |
20 |
|
|
ssh vm ' |
21 |
|
|
export INCLUDE="c:\\vc98\\include;c:\\sdk\\include" |
22 |
|
|
export LIB="c:\\vc98\\lib;c:\\sdk\\lib" |
23 |
root |
1.3 |
export ACTIVEPERL_CONFIG_DISABLE=1 |
24 |
root |
1.8 |
export VCINSTALLDIR=c:\\vc98 |
25 |
root |
1.9 |
export MSVCDir=c:\\vc98 |
26 |
|
|
export MSDevDir=c:\\vs6\\common\\msdev98 |
27 |
root |
1.13 |
export PERL_MM_USE_DEFAULT=1 |
28 |
root |
1.8 |
PATH="/c/Perl/bin/:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/gtk2/bin:/c/bdb/bin:/c/sdk/Bin/:/c/sdk/Bin/WinNT/:/c/vc98/bin:/c/vc98/msdev98/bin:/gtk/bin:$PATH" |
29 |
root |
1.1 |
|
30 |
root |
1.22 |
cd /c/common-sense && /c/perl/bin/perl Makefile.PL && nmake install && |
31 |
root |
1.21 |
cd /c/Guard && /c/perl/bin/perl Makefile.PL && nmake install && |
32 |
root |
1.18 |
cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && |
33 |
|
|
cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && |
34 |
|
|
cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && |
35 |
|
|
cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && |
36 |
root |
1.19 |
cd /c/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install && |
37 |
root |
1.18 |
cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install && |
38 |
root |
1.13 |
|
39 |
root |
1.1 |
cd /c/CFClient && |
40 |
root |
1.3 |
/c/perl/bin/perl Makefile.PL && |
41 |
root |
1.1 |
nmake install && |
42 |
|
|
win32/ppwin && |
43 |
root |
1.12 |
cp deliantra.exe /c/temp |
44 |
root |
1.2 |
' && |
45 |
root |
1.12 |
rsync -avessh vm:/c/CFClient/deliantra.exe . |
46 |
root |
1.17 |
cp deliantra.exe /fs/dosx/todo/. & |
47 |
root |
1.12 |
todata deliantra.exe |
48 |
root |
1.16 |
wait |
49 |
root |
1.1 |
|