‹ projects

vmc

a voice model creator for CMU Sphinx
Log | Files | Refs | README | LICENSE

commit 23d60c5c7a7a288f1b9b06bf850b86e6c9d90913
parent 7c7ac41d0871daf800226da46be7e7c03372dc8a
Author: umhau <umhau@alum.gcc.edu>
Date:   Mon, 19 Jun 2017 20:55:43 -0400

logic problem fixed.

Diffstat:
Mvmc | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/vmc b/vmc @@ -55,7 +55,9 @@ audio_folder="$5" # i.e. ~/.psyche/audio if [ $4 == '-newrecordings' ] || [ $4 == '-addrecordings' ]; then dict_file="$6"; reps="$7" -else +elif [ $1 == '-remove' ] || [ $1 == '-uninstall' ]; then + echo -n "" +else echo "Bad options given. Run: 'nano /usr/local/bin/vmc'."; exit 1 fi @@ -72,6 +74,7 @@ if [ $1 == '-remove' ] || [ $1 == '-uninstall' ]; then sudo rm -f /usr/local/bin/vmc sudo rm -f /usr/local/bin/lmc echo "vmc removed." + exit 1 fi # misc. housekeeping ----------------------------------------------------------