~ubuntu-branches/debian/stretch/assaultcube-data/stretch

« back to all changes in this revision

Viewing changes to server.sh

  • Committer: Bazaar Package Importer
  • Author(s): Gonéri Le Bouder, Ansgar Burchardt, Gonéri Le Bouder
  • Date: 2010-04-02 23:37:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402233755-kf74fxwlu634o6vg
Tags: 1.0.4+repack1-1
[ Ansgar Burchardt ]
* debian/control: fix typo in short description

[ Gonéri Le Bouder ]
* Upgrade to 1.0.4
* bump standards-version to 3.8.4
* Add Depends: ${misc:Depends} just to avoid a lintian warning
* Add a debian/source/format file for the same reason

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
# CUBE_OPTIONS contains any command line options you would like to start Cube with.
8
8
CUBE_OPTIONS=
9
9
 
 
10
# comment this to disable reading command line options from config/servercmdline.txt
 
11
CUBE_OPTIONFILE=-Cconfig/servercmdline.txt
 
12
 
10
13
# SYSTEM_NAME should be set to the name of your operating system.
11
14
#SYSTEM_NAME=Linux
12
15
SYSTEM_NAME=`uname -s`
49
52
if [ -x ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}server ]
50
53
then
51
54
  cd ${CUBE_DIR}
52
 
  exec ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}server ${CUBE_OPTIONS} "$@"
 
55
  exec ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}server ${CUBE_OPTIONS} ${CUBE_OPTIONFILE} "$@"
53
56
else
54
57
  echo "Your platform does not have a pre-compiled Cube server."
55
58
  echo "Please follow the following steps to build a native server:"