Fix missing sudo in env-setup.sh script

This commit is contained in:
David Shrewsbury 2015-02-27 16:52:06 -05:00
parent 6f2684fa88
commit 6777a5bb76

View File

@ -6,7 +6,7 @@ sudo pip install jinja2
u=$(whoami)
g=$(groups | awk '{print $1}')
mkdir -p /opt/stack || (sudo mkdir -p /opt/stack && chown $u:$g /opt/stack)
mkdir -p /opt/stack || (sudo mkdir -p /opt/stack && sudo chown $u:$g /opt/stack)
cd /opt/stack
if [ ! -d ansible ]; then