commit 358a44a5bb67813ba1ba5effd46cc2a4f900b98a
parent b2d89ea8d72d1f74597590096df8bab5eaf1fc93
Author: umhau <umhau@users.noreply.github.com>
Date: Tue, 1 Nov 2016 18:14:05 -0400
fixed shell test statements
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vmc.sh b/vmc.sh
@@ -31,7 +31,7 @@ export LD_LIBRARY_PATH=/usr/local/lib
# set path to include sphinx library location
# https://jrmeyer.github.io/installation/2016/01/09/Installing-CMU-Sphinx-on-Ubuntu.html
-if [ $2 = '-record' ]; then
+if [[ $2 = '-record' ]]; then
sentence_file=$3
output_folder=$4
@@ -42,7 +42,7 @@ if [ $2 = '-record' ]; then
iterations=1
fi
-elif [ $2 = '-import' ]; then
+elif [[ $2 = '-import' ]]; then
audio_file_directory=$3
sentence_file=$4