From d74d681d3f9eb013838dd1a0935873f46f8b373e Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Wed, 14 Sep 2011 01:35:54 -0700 Subject: [PATCH] fix check for nfs-stack existence --- build_lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_lxc.sh b/build_lxc.sh index 63c9e50..9f133fd 100755 --- a/build_lxc.sh +++ b/build_lxc.sh @@ -123,7 +123,7 @@ sleep 1 # Install and run stack.sh apt-get update apt-get -y --force-yes install git-core vim-nox sudo -if [ ! -d "~/nfs-stack" ]; then +if [ ! -d "/opt/nfs-stack" ]; then su -c "git clone git://github.com/cloudbuilders/nfs-stack.git ~/nfs-stack" stack fi nohup su -c "cd ~/nfs-stack && $STACKSH_PARAMS ./stack.sh" stack &> /opt/run.sh.log