blob: cc9b578d3d370d4fa8766114977daf32544a9ff4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env bash
arch=$(uname -m)
if [ "$arch" == 'x86_64' ]; then
arch="x86_64"
else
arch="i386"
fi
file=`basename "$0"`
if [ "$file" == 'openarena' ]; then
file='openarena'
else
file='oa_ded'
fi
cd '/opt/openarena'
# Comment by syrjala
# openarena-runner.sh should pass on the command line options. I just banged my
# head against the wall for a while trying to figure out why my command line
# options didn't do anything.
# So, here it is
"./${file}.${arch}" $@
|