/usr/games/trackgen is in torcs 1.3.3+dfsg2-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 27 28 29 30 31 32 33 34 35 36 | #! /bin/bash
# src/tools/trackgen/trackgen. Generated from trackgen.in by configure.
##############################################################################
#
# file : trackgen.in
# created : Tue Aug 19 23:23:51 CEST 2003
# copyright : (C) 2003 by Eric Espi�
# email : Eric.Espie@torcs.org
# version : $Id: trackgen.in,v 1.2.2.2 2011/12/29 10:18:20 berniw Exp $
#
##############################################################################
#
# 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 of the License, or
# (at your option) any later version.
#
##############################################################################
prefix=/usr
exec_prefix=${prefix}
BINDIR=${prefix}/games
LIBDIR=${exec_prefix}/lib/torcs
DATAROOTDIR=${prefix}/share
DATADIR=$DATAROOTDIR/games/torcs
VARDIR=/var/games/torcs
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$LIBDIR/lib
echo "Changing to $DATADIR"
cd $DATADIR
$LIBDIR/trackgen-bin -L $LIBDIR $*
exit 0
|