fix _cubes dir
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 25 Mar 2010 19:32:04 +0100
changeset 5022 7e09702aa766
parent 5021 58e89f3dfbae
child 5023 70d5d54e8b81
fix _cubes dir
cwconfig.py
--- a/cwconfig.py	Thu Mar 25 17:55:24 2010 +0100
+++ b/cwconfig.py	Thu Mar 25 19:32:04 2010 +0100
@@ -239,7 +239,7 @@
         _CUBES_DIR = join(CW_SOFTWARE_ROOT, '../cubes')
     else:
         mode = _forced_mode or 'system'
-        _CUBES_DIR = join(_INSTALL_PREFIX, 'cubes')
+        _CUBES_DIR = join(_INSTALL_PREFIX, 'share', 'cubicweb', 'cubes')
 
     CUBES_DIR = env_path('CW_CUBES_DIR', _CUBES_DIR, 'cubes', checkexists=False)
     CUBES_PATH = os.environ.get('CW_CUBES_PATH', '').split(os.pathsep)