summarylogtreecommitdiffstats
path: root/gearhead.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gearhead.sh')
-rw-r--r--gearhead.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/gearhead.sh b/gearhead.sh
index fb536cdf6405..d3cd4f99a0af 100644
--- a/gearhead.sh
+++ b/gearhead.sh
@@ -1,3 +1,11 @@
#!/bin/sh
cd /opt/gearhead
-./gharena
+
+name=$(basename $0)
+
+if [ $name = gearhead ]; then
+ ./gharena
+elif [ $name = gearhead-sdl ]; then
+ ./gharena-sdl
+fi
+