Browse code

fix check for nfs-stack existence

Anthony Young authored on 2011/09/14 17:35:54
Showing 1 changed files
... ...
@@ -123,7 +123,7 @@ sleep 1
123 123
 # Install and run stack.sh
124 124
 apt-get update
125 125
 apt-get -y --force-yes install git-core vim-nox sudo
126
-if [ ! -d "~/nfs-stack" ]; then
126
+if [ ! -d "/opt/nfs-stack" ]; then
127 127
     su -c "git clone git://github.com/cloudbuilders/nfs-stack.git ~/nfs-stack" stack
128 128
 fi
129 129
 nohup su -c "cd ~/nfs-stack && $STACKSH_PARAMS ./stack.sh" stack &> /opt/run.sh.log