annotate experiments/scripts/HTK/install_htk.sh @ 111:f54d91957fec

- Maybe, just maybe
author tomwalters
date Tue, 14 Sep 2010 01:30:44 +0000
parents 9416e88d7c56
children f75123cf39ce
rev   line source
tomwalters@54 1 #!/bin/bash
tomwalters@54 2 set -e
tomwalters@54 3 set -u
tomwalters@101 4 WORKING=$1
tomwalters@101 5 PREV_DIR=`pwd`
tomwalters@101 6 if [ ! -e $WORKING/.htk_installed_success ]; then
tomwalters@101 7 mkdir -p $WORKING
tomwalters@101 8 cd $WORKING
tomwalters@54 9 wget --user $HTK_USERNAME --password $HTK_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz
tomwalters@54 10 tar -xzf HTK-3.4.1.tar.gz
tomwalters@54 11 cd htk
tomwalters@54 12 ./configure --disable-hslab
tomwalters@54 13 make
tomwalters@54 14 sudo make install
tomwalters@101 15 touch $WORKING/.htk_installed_success
tomwalters@101 16 fi
tomwalters@101 17 cd $PREV_DIR