commit f719bb2c3015b18ea40f8d91c2bd79a845501116 parent 6dc13b48f2f4bcfb82d92114605ea6428dbd8aef Author: umhau <umhau@alum.gcc.edu> Date: Wed, 5 Jul 2017 17:51:33 -0400 guess it needs pocketsphinx after all Diffstat:
| M | install.sh | | | 30 | +++++++++++++++--------------- |
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/install.sh b/install.sh @@ -89,21 +89,21 @@ install_dependencies() { echo "SphinxTrain already installed." fi - # # check for and install pocketsphinx - # echo -n "Checking for pocketsphinx..." - # if [ ! -d $install_dir/pocketsphinx/ ]; then - # echo "installing..."; cd $install_dir - # git clone "https://github.com/$CMUsrc/pocketsphinx.git" - # cd ./pocketsphinx - # ./autogen.sh - # ./configure - # make -j $CORES clean all - # make -j $CORES check - # sudo make -j $CORES install - # sudo chown -R $USER: $install_dir # bug: dir had root ownership. - # else - # echo "PocketSphinx already installed." - # fi + # check for and install pocketsphinx + echo -n "Checking for pocketsphinx..." + if [ ! -d $install_dir/pocketsphinx/ ]; then + echo "installing..."; cd $install_dir + git clone "https://github.com/$CMUsrc/pocketsphinx.git" + cd ./pocketsphinx + ./autogen.sh + ./configure + make -j $CORES clean all + make -j $CORES check + sudo make -j $CORES install + sudo chown -R $USER: $install_dir # bug: dir had root ownership. + else + echo "PocketSphinx already installed." + fi }