summaryrefslogtreecommitdiffstats
path: root/demos/spectrum/app/spectrum.sh
diff options
context:
space:
mode:
Diffstat (limited to 'demos/spectrum/app/spectrum.sh')
-rw-r--r--demos/spectrum/app/spectrum.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/spectrum/app/spectrum.sh b/demos/spectrum/app/spectrum.sh
new file mode 100644
index 0000000..75ad6c2
--- /dev/null
+++ b/demos/spectrum/app/spectrum.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Shell script for launching spectrum application on Unix systems other than Mac OSX
+
+bindir=`dirname "$0"`
+LD_LIBRARY_PATH="${bindir}:${LD_LIBRARY_PATH}"
+export LD_LIBRARY_PATH
+exec "${bindir}/spectrum.bin" ${1+"$@"}
+