summarylogtreecommitdiffstats
path: root/gearhead.sh
diff options
context:
space:
mode:
authorJordan Christiansen2017-05-07 00:55:15 -0500
committerJordan Christiansen2017-05-07 01:22:43 -0500
commit5fe2a3178889780f7a765a80071397838eea7005 (patch)
tree99ce532b3d170c795015dbb6c88f4afa972328c5 /gearhead.sh
parent19bc2eca28b05a948a5ce7f2d4b916391c266beb (diff)
downloadaur-5fe2a3178889780f7a765a80071397838eea7005.tar.gz
Added ascii version of the game
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
+