view experiments/scripts/HTK/install_htk.sh @ 646:e76951e4da20

Style fixes. - Fix most lint errors found by http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py - Clean up commenting style. - Alphabetize #includes and using statements.
author ronw@google.com
date Tue, 11 Jun 2013 20:41:15 +0000
parents b50a09ac97ec
children
line wrap: on
line source
#!/bin/bash
set -e
set -u
WORKING=$1
PREV_DIR=`pwd`
if [ ! -e $WORKING/.htk_installed_success ]; then
mkdir -p $WORKING
cd $WORKING
wget --user $HTK_USERNAME --password $HTK_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz
tar -xzf HTK-3.4.1.tar.gz
cd htk
./configure --disable-hslab
make
sudo make install
touch $WORKING/.htk_installed_success
fi
cd $PREV_DIR