~ubuntu-branches/ubuntu/natty/balder2d/natty

« back to all changes in this revision

Viewing changes to run_balder.sh

  • Committer: Bazaar Package Importer
  • Author(s): Bjørn Hansen
  • Date: 2008-06-15 17:15:38 UTC
  • mfrom: (1.1.1 upstream) (3.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080615171538-e407e07wbtdy0qs8
Tags: 1.0-1
* new upstream release
* update for guichan 8.1 (Closes: #482584)
* use physicsfs to make data/config/map/aiscript loading more flexible
* new skins for menus
* fix typo in control file long description (Closes: #458401)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
lib_prefix=/usr/share/games
6
6
bin_prefix=/usr/lib
7
 
LIBDIR=${lib_prefix}/balder2d
8
7
if  [ -n "$1" ]
9
8
then
10
 
CONFIG_FILE=$1
 
9
CONFIG_FILE=--config $1
11
10
else
12
 
CONFIG_FILE=$HOME/.balder2d.conf
 
11
CONFIG_FILE=
13
12
fi
14
13
 
15
 
cd $LIBDIR
16
 
${bin_prefix}/balder2d/balder2d $CONFIG_FILE
 
14
${bin_prefix}/balder2d/balder2d --data $lib_prefix/balder2d $CONFIG_FILE