--- deliantra/Deliantra-Client/util/gatherer 2011/12/30 06:31:41 1.3 +++ deliantra/Deliantra-Client/util/gatherer 2011/12/30 06:52:07 1.4 @@ -1,5 +1,9 @@ #!/bin/bash +# this gem of a hack gathers all fiels required by the client for the platform +# by deep magic, it works on osx, linux and windows. on MY osx, linux +# and windows, that is. + STRIP="strip" LIBEXT=so LIB0=so.? @@ -7,7 +11,7 @@ SYSLIB=/usr/lib MAKE=make ARCHNAME=x86 -GENPACK_ENVVARS= +GENPACK_ENVVARS="LD_LIBRARY_PATH=." umask 022 @@ -38,6 +42,7 @@ URLADER=-osx105 PANGO=1.6.0 PERL=/opt/local/bin/perl + GENPACK_ENVVARS="DYLD_LIBRARY_PATH=." SYSLIB=/opt/local/lib LIB0=dylib @@ -69,12 +74,12 @@ export EV_SIGNALFD=0 if true; then - for mod in Deliantra CFPlus; do -# for mod in common-sense AnyEvent EV JSON-XS Deliantra Compress-LZF BDB Guard CFPlus; do + for mod in deliantra/Deliantra deliantra/Deliantra-Client; do +# for mod in common-sense AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB Guard deliantra/Deliantra-Client; do # for mod in CFPlus; do ( cd /root/src/$mod - cvs update -qAdP + cvs update -AdP $PERL Makefile.PL /dev/null $MAKE clean >/dev/null $PERL Makefile.PL /dev/null @@ -84,7 +89,7 @@ fi rm -f log $MAKE clean >/dev/null - ) + ) || exit done fi