diff --git a/stack/erp5.cfg b/stack/erp5.cfg index f797c292b158f407a72429d6eaf19c7141329b13..7c454d8a9cb83eea6b9d39d50693c8c11b8528e4 100644 --- a/stack/erp5.cfg +++ b/stack/erp5.cfg @@ -244,7 +244,7 @@ initialization = os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__))) os.environ['ZOPE_SCRIPTS'] = '' parts_directory = '''${buildout:parts-directory}''' - repository_id_list = '''${erp5_repository_list:repository_id_list}'''.split() + repository_id_list = '''${erp5_repository_list:repository_id_list}'''.split().reverse() temp_bt5_path_list = ['/'.join([parts_directory, x, 'bt5']) for x in repository_id_list] bt5_path_list = [] [bt5_path_list.extend([bt5_path, '%s/*' % bt5_path]) for bt5_path in temp_bt5_path_list] @@ -274,7 +274,7 @@ initialization = import Zope2 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__))) os.environ['ZOPE_SCRIPTS'] = '' - sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in '''${erp5_repository_list:repository_id_list}'''.split()] + sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in '''${erp5_repository_list:repository_id_list}'''.split()].reverse() [instance-recipe-egg] recipe = zc.recipe.egg