summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gundlach <michael.gundlach@rackspace.com>2010-08-09 17:45:00 -0400
committerMichael Gundlach <michael.gundlach@rackspace.com>2010-08-09 17:45:00 -0400
commit09b5be11e7b61aa0ae344cec669e4f62dd18c0b2 (patch)
tree23ce71e9bd92ebc9fc49277fe6a95656d78dfbe6
parent05b87ac8e743221ed4c0c73a03612674e2416b24 (diff)
downloadnova-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.py2
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'