summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-06-05 18:26:47 +0000
committerGerrit Code Review <review@openstack.org>2013-06-05 18:26:47 +0000
commite9687d8bc7c5ba3ea4e348f61d2e658ad5099144 (patch)
tree61eca702532ad2390e33cb16efc24912dfe4f6bc /nova
parent53e4eec1f90d30b6a1e77dd554e0f8ef5e76b3d7 (diff)
parent584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c (diff)
downloadnova-e9687d8bc7c5ba3ea4e348f61d2e658ad5099144.tar.gz
nova-e9687d8bc7c5ba3ea4e348f61d2e658ad5099144.tar.xz
nova-e9687d8bc7c5ba3ea4e348f61d2e658ad5099144.zip
Merge "Delete unused bin directory"
Diffstat (limited to 'nova')
-rw-r--r--nova/paths.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/paths.py b/nova/paths.py
index 8d84289ae..8d8a632c0 100644
--- a/nova/paths.py
+++ b/nova/paths.py
@@ -18,6 +18,7 @@
# under the License.
import os
+import sys
from oslo.config import cfg
@@ -27,7 +28,7 @@ path_opts = [
'../')),
help='Directory where the nova python module is installed'),
cfg.StrOpt('bindir',
- default='$pybasedir/bin',
+ default=os.path.join(sys.prefix, 'local', 'bin'),
help='Directory where nova binaries are installed'),
cfg.StrOpt('state_path',
default='$pybasedir',