diff experiments/scripts/HTK/install_htk.sh @ 165:f75123cf39ce

- Scripts for running recognition experiments using AIM-C and HTK to compare MFCCs against features generated with AIM-C
author tomwalters
date Wed, 04 Aug 2010 06:41:56 +0000
parents 9416e88d7c56
children aa4eea1a3568
line wrap: on
line diff
--- a/experiments/scripts/HTK/install_htk.sh	Thu Jul 22 19:03:51 2010 +0000
+++ b/experiments/scripts/HTK/install_htk.sh	Wed Aug 04 06:41:56 2010 +0000
@@ -1,17 +1,15 @@
 #!/bin/bash
 set -e
 set -u
-WORKING=$1
-PREV_DIR=`pwd`
-if [ ! -e $WORKING/.htk_installed_success ]; then
-mkdir -p $WORKING
-cd $WORKING
+if [ ! -e /mnt/experiments/htk/.htk_installed_success ]; then
+sudo mkdir /mnt/experiments/htk
+sudo chown ubuntu /mnt/experiments/htk
+cd /mnt/experiments/htk
 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
+touch /mnt/experiments/htk/.htk_installed_success
+fi
\ No newline at end of file