diff --git a/mk/linux/editor b/mk/linux/editor index 588f1536..fe4e19fb 100755 --- a/mk/linux/editor +++ b/mk/linux/editor @@ -14,8 +14,6 @@ else GAMEDIR="`dirname $0`" fi -# Change to the game dir, and go! -cd $GAMEDIR # export game library directory test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}" @@ -29,10 +27,10 @@ else hasopenal=`ldconfig -p | grep -m 1 "libopenal.so.1" | cut "-d>" -f2 | cut "-d " -f2` if [ -n "$hasopenal" ]; then - ln -f -s $hasopenal lib/libopenal.so.0 + ln -f -s $hasopenal $GAMEDIR/lib/libopenal.so.0 fi fi -./bin/glest_editor +$GAMEDIR/bin/glest_editor "$1" diff --git a/mk/linux/g3dviewer b/mk/linux/g3dviewer index 6ef370cb..e3166460 100755 --- a/mk/linux/g3dviewer +++ b/mk/linux/g3dviewer @@ -14,10 +14,9 @@ else GAMEDIR="`dirname $0`" fi -# Change to the game dir, and go! -cd $GAMEDIR # export game library directory test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}" -./bin/glest_g3dviewer +echo $*>$GAMEDIR/test.log +$GAMEDIR/bin/glest_g3dviewer "$1" diff --git a/source/glest_game/facilities/game_util.cpp b/source/glest_game/facilities/game_util.cpp index 296b3796..bc7a2061 100644 --- a/source/glest_game/facilities/game_util.cpp +++ b/source/glest_game/facilities/game_util.cpp @@ -22,7 +22,7 @@ using namespace Shared::Util; namespace Glest{ namespace Game{ const string mailString= "contact_game@glest.org"; -const string glestVersionString= "v3.3.1"; +const string glestVersionString= "v3.3.2-dev"; string getCrashDumpFileName(){ return "glest"+glestVersionString+".dmp";