Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix eucadmin binary python path mangling.

  • Loading branch information...
commit 1a516bce2fc9d543827a9749b07ff4e0c7d93eb6 2 parents 29419a4 + 49e4c7f
authored April 21, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  clc/eucadmin/setup.py
4  clc/eucadmin/setup.py
@@ -38,9 +38,9 @@
38 38
 
39 39
 cfg = ConfigParser.ConfigParser()
40 40
 cfg.read('setup.cfg')
41  
-prefix = os.path.dirname(cfg.get('install', 'prefix'))
  41
+prefix = cfg.get('install', 'prefix')
42 42
 install_scripts = cfg.get('install', 'install_scripts')
43  
-path_header = 'import sys\nsys.path.append(\"%s/%s\")\n' % (prefix, get_python_lib())
  43
+path_header = 'import sys\nsys.path.append(\"%s\")\n' % (get_python_lib(prefix=prefix))
44 44
 
45 45
 binaries = ["bin/euca-add-user", "bin/euca-add-user-group",
46 46
         "bin/euca-delete-user", "bin/euca-delete-user-group",

0 notes on commit 1a516bc

Please sign in to comment.
Something went wrong with that request. Please try again.