updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rotc-ethernet-dev / rotc-ethernet
blobd1043fa744c571fa5f252b21b4d897d0630551a1
1 #!/bin/sh
2 #-------------------------------------------------------------------------------
3 # Revenge Of The Cats: Ethernet
4 # Copyright (C) 2009, mEthLab Interactive
5 #-------------------------------------------------------------------------------
7 ROTCDIR="/usr/share/rotc-ethernet/"
9 BIN="./rotc.bin"
10 ARGS="-console $@"
12 die()
14 echo "$*" 2>&1
15 exit 1
18 cd "$ROTCDIR" || die "Can't change into ROTC: Ethernet root dir."
20 LD_LIBRARY_PATH="`pwd`/lib"
21 export LD_LIBRARY_PATH
23 $BIN "$ARGS"