aboutsummaryrefslogtreecommitdiffstats
path: root/OculusWorldDemo.sh
diff options
context:
space:
mode:
authorBrad Davis <[email protected]>2014-05-23 01:52:35 -0700
committerBrad Davis <[email protected]>2014-05-23 01:52:35 -0700
commit1393f96fa857a59ca495e51ce8c704eb36e3eed7 (patch)
tree6c6a55b09df48d2ed5f8532c4403ea6f084d284b /OculusWorldDemo.sh
parent46acc0e194ff3c1f120199eeca8324b4502118e9 (diff)
Adding 0.3.2 Linux specific files
Diffstat (limited to 'OculusWorldDemo.sh')
-rw-r--r--OculusWorldDemo.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/OculusWorldDemo.sh b/OculusWorldDemo.sh
new file mode 100644
index 0000000..e668c93
--- /dev/null
+++ b/OculusWorldDemo.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+#############################################################################
+#
+# Filename : OculusWorldDemo.sh
+# Content : Linux file for starting the OculusWorldDemo app from the SDK
+# package root. It will determine the architechture of the
+# system it is running on, and start the approprite executable
+# Created : 2013
+# Authors : Simon Hallam
+# Copyright : Copyright 2013 OculusVR, Inc. All Rights Reserved
+# Instruction : Ensure that the OculusWorldDemo.sh has execute permissions.
+# Navigate to a command shell, enter:
+#
+# ./OculusWorldDemo.sh
+#
+#############################################################################
+
+MACHINE_TYPE=`uname -m`
+if [ ${MACHINE_TYPE} == 'x86_64' ]; then
+ ./Samples/OculusWorldDemo/Release/OculusWorldDemo_x86_64_Release
+else
+ ./Samples/OculusWorldDemo/Release/OculusWorldDemo_i386_Release
+fi
+