#!/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 ' . ~/.setenv export ACTIVEPERL_CONFIG_DISABLE=1 export PERL_MM_USE_DEFAULT=1 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