commit | d74d681d3f9eb013838dd1a0935873f46f8b373e | [log] [tgz] |
---|---|---|
author | Anthony Young <sleepsonthefloor@gmail.com> | Wed Sep 14 01:35:54 2011 -0700 |
committer | Anthony Young <sleepsonthefloor@gmail.com> | Wed Sep 14 01:35:54 2011 -0700 |
tree | 47d423cb03f21e4f5f03c38c44f75f34b8d2f018 | |
parent | 80638e545f8b2990b219ad8be891fe9c0ccfacca [diff] [blame] |
fix check for nfs-stack existence
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 @@ # 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