File: civ

package info (click to toggle)
freeciv 1.12.0-0.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 25,944 kB
  • ctags: 10,335
  • sloc: ansic: 107,492; sh: 3,056; makefile: 1,052; yacc: 318; perl: 70
file content (26 lines) | stat: -rwxr-xr-x 963 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#/********************************************************************** 
# Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
# script by Rene Schalburg
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2, or (at your option)
#   any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#***********************************************************************/
DIR=`dirname $0`

[ -x $DIR/client/civclient ] && EXE=$DIR/client/civclient
[ -x $DIR/civclient ] && EXE=$DIR/civclient

if [ "$EXE" = "" ]; then
  echo $0: Unable to find civclient.
  exit 1
fi

exec $EXE ${1+"$@"}