#!/bin/bash [ -e Makefile ] && make clean if true; then for mod in AnyEvent EV JSON-XS Deliantra BDB Compress-LZF Guard common-sense; do ( cd /root/src/"$mod" make clean ssh vm mkdir -p /c/"$mod" rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del --exclude /pgrab ) & done fi wait rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && #sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' ssh vm ' export INCLUDE="c:\\vc98\\include;c:\\sdk\\include" export LIB="c:\\vc98\\lib;c:\\sdk\\lib" export ACTIVEPERL_CONFIG_DISABLE=1 export VCINSTALLDIR=c:\\vc98 export MSVCDir=c:\\vc98 export MSDevDir=c:\\vs6\\common\\msdev98 export PERL_MM_USE_DEFAULT=1 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" cd /c/common-sense && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/Guard && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install && cd /c/CFClient && /c/perl/bin/perl Makefile.PL && nmake install && win32/ppwin && cp deliantra.exe /c/temp ' && rsync -avessh vm:/c/CFClient/deliantra.exe . cp deliantra.exe /fs/dosx/todo/. & todata deliantra.exe wait