diff options
| author | Michael Gundlach <michael.gundlach@rackspace.com> | 2010-08-09 17:45:00 -0400 |
|---|---|---|
| committer | Michael Gundlach <michael.gundlach@rackspace.com> | 2010-08-09 17:45:00 -0400 |
| commit | 09b5be11e7b61aa0ae344cec669e4f62dd18c0b2 (patch) | |
| tree | 23ce71e9bd92ebc9fc49277fe6a95656d78dfbe6 | |
| parent | 05b87ac8e743221ed4c0c73a03612674e2416b24 (diff) | |
| download | nova-09b5be11e7b61aa0ae344cec669e4f62dd18c0b2.tar.gz nova-09b5be11e7b61aa0ae344cec669e4f62dd18c0b2.tar.xz nova-09b5be11e7b61aa0ae344cec669e4f62dd18c0b2.zip | |
Run correctly even if called while in tools/ directory, as 'python install_venv.py'
| -rw-r--r-- | tools/install_venv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py index 0b35fc8e9..96bb12efb 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -7,7 +7,7 @@ import subprocess import sys -ROOT = os.path.dirname(os.path.dirname(__file__)) +ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) VENV = os.path.join(ROOT, '.nova-venv') PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires') TWISTED_NOVA='http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz' |
