changeset 182:aa4eea1a3568

- AWS (again!)
author tomwalters
date Wed, 11 Aug 2010 11:52:02 +0000
parents 7d5bcedc229d
children d961cc31ef69
files experiments/scripts/HTK/install_htk.sh experiments/scripts/cnbh-syllables/feature_generation/run_hcopy.sh experiments/scripts/cnbh-syllables/feature_generation/run_mfcc_vtln_conversion.sh experiments/scripts/setup_aws_instance.sh
diffstat 4 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/experiments/scripts/HTK/install_htk.sh	Wed Aug 11 11:36:48 2010 +0000
+++ b/experiments/scripts/HTK/install_htk.sh	Wed Aug 11 11:52:02 2010 +0000
@@ -2,7 +2,7 @@
 set -e
 set -u
 if [ ! -e /mnt/experiments/htk/.htk_installed_success ]; then
-sudo mkdir /mnt/experiments/htk
+sudo mkdir -p /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
--- a/experiments/scripts/cnbh-syllables/feature_generation/run_hcopy.sh	Wed Aug 11 11:36:48 2010 +0000
+++ b/experiments/scripts/cnbh-syllables/feature_generation/run_hcopy.sh	Wed Aug 11 11:52:02 2010 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 HCOPY=`which HCopy`
-if [ $HCOPY -eq "" ]; then
+if [ "$HCOPY" == "" ]; then
   echo "Please build HTK and make the binaries available in the path"
 fi
 
--- a/experiments/scripts/cnbh-syllables/feature_generation/run_mfcc_vtln_conversion.sh	Wed Aug 11 11:36:48 2010 +0000
+++ b/experiments/scripts/cnbh-syllables/feature_generation/run_mfcc_vtln_conversion.sh	Wed Aug 11 11:52:02 2010 +0000
@@ -1,8 +1,8 @@
 #!/bin/bash
 # 
-
+HCOPY_CONFIG=hcopy.config
 HCOPY=`which HCopy`
-if [ $HCOPY -eq "" ]; then
+if [ "$HCOPY" == "" ]; then
   echo "Please build HTK and make the binaries available in the path"
 fi
 
--- a/experiments/scripts/setup_aws_instance.sh	Wed Aug 11 11:36:48 2010 +0000
+++ b/experiments/scripts/setup_aws_instance.sh	Wed Aug 11 11:52:02 2010 +0000
@@ -9,7 +9,10 @@
 #                    ami-2fc2e95b
 
 sudo apt-get -y update
-sudo apt-get -y install subversion scons pkg-config libsndfile1-dev build-essential libboost-dev libc6-dev-i386 python sox
+sudo apt-get -y install subversion scons pkg-config libsndfile1-dev build-essential libboost-dev python sox
+
+# For 64-bit systems, uncomment this line:
+# sudo apt-get -y install libc6-dev-i386
 
 sudo mkdir /mnt/aimc
 sudo chown ubuntu /mnt/aimc