sysconfig/script_nuance/exspeech.sh
2021-06-07 10:03:42 +08:00

33 lines
872 B
Bash

#!/bin/bash
. ~/bin/platform.sh
#if [ "$1" == '' ] then
# echo "Which ExSpeech?"
# echo -n "Please enter an ExSpeech version, e.g. 2006-02-02: "
# read selection
#else
# selection=$1
#fi
echo "Use current ExSpeech version:"
selection='current'
# todo: check existence of osr installation!
if [ "$PLATFORM" == 'aachen_windows' ]
then
echo "ExSpeech $selection isn't implemented on Aachen Windows."
elif [ "$PLATFORM" == 'aachen_linux' ]
then
echo "ExSpeech $selection isn't implemented on Aachen Linux."
elif [ "$PLATFORM" == 'burlington_linux' ]
then
. /res/tools/ExSpeech/current/setenv.sh
echo "ExSpeech $selection was successfully configured on Burlington Linux."
elif [ "$PLATFORM" == 'home_windows' ]
then
echo "ExSpeech $selection isn't implemented on Home Windows."
else
echo "Unknown System! Nothing was configured."
fi