fix check for nfs-stack existence
This commit is contained in:
parent
80638e545f
commit
d74d681d3f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue