3
# Shell-Script for starting the SSR locally in the tarball directory.
4
# This is not needed for the installed version!
6
# find the directory where the script is located
7
# (in case it was started from somewhere else)
8
DATA_DIR="$(dirname "$0")"
9
SCRIPTNAME="$(basename "$0")"
11
DEFAULT_EXECUTABLE=ssr-binaural
13
if [ "$SCRIPTNAME" = local_ssr.sh ]
15
echo -n "Which SSR binary do you want to start? [$DEFAULT_EXECUTABLE] "
19
SSR="$DATA_DIR/../src/${SCRIPTNAME:=$DEFAULT_EXECUTABLE}"
20
CONF="$DATA_DIR/ssr.conf.local"
24
"$SSR" -c "$CONF" "$@"
26
echo $0: Error: $SSR not found. Did you forget to \"make\" it?
30
# Settings for Vim (http://www.vim.org/), please do not remove:
31
# vim:softtabstop=2:shiftwidth=2:expandtab:textwidth=80