--- a/server/__init__.py Wed Sep 30 16:06:58 2009 +0200
+++ b/server/__init__.py Wed Sep 30 16:23:12 2009 +0200
@@ -147,7 +147,7 @@
for fpath in glob(join(CW_SOFTWARE_ROOT, 'schemas', '*.sql.%s' % driver)):
print '-> installing', fpath
sqlexec(open(fpath).read(), execute, False, delimiter=';;')
- for directory in config.cubes_path():
+ for directory in reversed(config.cubes_path()):
for fpath in glob(join(directory, 'schema', '*.sql.%s' % driver)):
print '-> installing', fpath
sqlexec(open(fpath).read(), execute, False, delimiter=';;')