This is the full contents of the file:
#!/bin/sh
# automake always builds programs inside the dir with source files
# but you have to start the programs from the top PS dir, so that they can find
# the sources. This scripts helps starting the progs and helps reminding people
#try to setup links to the plugins
if [ ! -f configure.ac ]; then
echo Please start this script from planeshift root dir
exit 1
fi
#link plugins to actual dir, so that planeshift will be able to find them
PLUGINS=\"src/client/gui/.libs/psgui src/server/database/dummy/.libs/dbdummy \\
src/server/database/mysql/.libs/dbmysql \\
src/common/psbehave/.libs/psbehave src/client/sound/.libs/pssound \\
src/common/psprop/imp/.libs/pflinearmovement \\
src/common/psprop/character/.libs/pfcharacterdata \\
src/common/psprop/npc/.libs/pfnpcdialog \\
src/common/psprop/proxlist/.libs/pfproximitylist \\
src/client/admin/.libs/psadmin\"
for i in $PLUGINS; do
#echo \"linking plugin $i\"
if [ -f $i.so ]; then
ln -s $i.so . >& /dev/null
fi
if [ -f $i.dll ]; then
#win32 can\'t symlink so we have to copy

cp $i.dll .
fi
done
#link CEL plugins... oh that\'s ugly...
if test -z \"$CEL\"; then
echo \"Please set CEL environment var!\"
exit 1
fi
for i in $CEL/*.so; do
if test -f $i; then
ln -s $i . >& /dev/null
fi
done
for i in $CEL/*.dll; do
if test -f $i; then
cp $i .
fi
done
SELF=`basename $0`
if test $SELF = \"psclient\"; then
src/client/psclient $@
fi
if test $SELF = \"psserver\"; then
src/server/psserver $@
fi