summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEric Windisch <eric@cloudscaling.com>2011-03-09 17:22:54 -0500
committerEric Windisch <eric@cloudscaling.com>2011-03-09 17:22:54 -0500
commit5f6a58c7c2a7359f67bc4e2c2eb6bb9cc0a9ff01 (patch)
tree49c828f36e55063d1c166066e10e18ee4e0cdd07 /doc
parentd9c9b084539ca3bdcb58cd037ab6c297bfc28808 (diff)
downloadnova-5f6a58c7c2a7359f67bc4e2c2eb6bb9cc0a9ff01.tar.gz
nova-5f6a58c7c2a7359f67bc4e2c2eb6bb9cc0a9ff01.tar.xz
nova-5f6a58c7c2a7359f67bc4e2c2eb6bb9cc0a9ff01.zip
execvp: fix docs
Diffstat (limited to 'doc')
-rw-r--r--doc/ext/nova_autodoc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ext/nova_autodoc.py b/doc/ext/nova_autodoc.py
index 5429bb656..3dd992d84 100644
--- a/doc/ext/nova_autodoc.py
+++ b/doc/ext/nova_autodoc.py
@@ -8,5 +8,6 @@ from nova import utils
def setup(app):
rootdir = os.path.abspath(app.srcdir + '/..')
print "**Autodocumenting from %s" % rootdir
- rv = utils.execute('cd %s && ./generate_autodoc_index.sh' % rootdir)
+ os.chdir(rootdir)
+ rv = utils.execute('./generate_autodoc_index.sh')
print rv[0]