Mercurial > hg > aimc
diff experiments/scripts/HTK/install_htk.sh @ 212:b50a09ac97ec
- Pretty-plotting
- Test on everything
- Generalised beyond standard AMI
author | tomwalters |
---|---|
date | Tue, 14 Sep 2010 00:18:47 +0000 |
parents | 97a513bc3bcf |
children |
line wrap: on
line diff
--- a/experiments/scripts/HTK/install_htk.sh Mon Sep 13 18:34:23 2010 +0000 +++ b/experiments/scripts/HTK/install_htk.sh Tue Sep 14 00:18:47 2010 +0000 @@ -1,15 +1,17 @@ #!/bin/bash set -e set -u -if [ ! -e /mnt/experiments/htk/.htk_installed_success ]; then -sudo mkdir -p /mnt/experiments/htk -sudo chown `whoami` /mnt/experiments/htk -cd /mnt/experiments/htk +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 /mnt/experiments/htk/.htk_installed_success -fi \ No newline at end of file +touch $WORKING/.htk_installed_success +fi +cd $PREV_DIR