#! /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.1 2008/06/01 20:19:39 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=/home/berni/torcs_bin
exec_prefix=${prefix}

BINDIR=${exec_prefix}/bin
LIBDIR=${exec_prefix}/lib/torcs
DATAROOTDIR=${prefix}/share
DATADIR=$DATAROOTDIR/games/torcs
VARDIR=${prefix}/var/games/torcs

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR/lib

echo "Changing to $DATADIR"
cd $DATADIR
$LIBDIR/trackgen-bin -L $LIBDIR $*

exit 0
