X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/45d13bc295dbe83940ae47aaa4ee3b9032a46df4..200eae3bc0b559e7df7c1d1fb50141830c2f1849:/nominatim/tools/exec_utils.py?ds=sidebyside diff --git a/nominatim/tools/exec_utils.py b/nominatim/tools/exec_utils.py index 9c801142..ab2ccc7c 100644 --- a/nominatim/tools/exec_utils.py +++ b/nominatim/tools/exec_utils.py @@ -125,7 +125,7 @@ def run_osm2pgsql(options: Mapping[str, Any]) -> None: ] if str(options['osm2pgsql_style']).endswith('.lua'): - env['LUA_PATH'] = ';'.join((str(options['osm2pgsql_style_path'] / 'flex-base.lua'), + env['LUA_PATH'] = ';'.join((str(options['osm2pgsql_style_path'] / '?.lua'), os.environ.get('LUAPATH', ';'))) cmd.extend(('--output', 'flex')) else: @@ -136,9 +136,6 @@ def run_osm2pgsql(options: Mapping[str, Any]) -> None: if options['flatnode_file']: cmd.extend(('--flat-nodes', options['flatnode_file'])) - if not options.get('forward_dependencies', False): - cmd.extend(('--with-forward-dependencies', 'false')) - for key, param in (('slim_data', '--tablespace-slim-data'), ('slim_index', '--tablespace-slim-index'), ('main_data', '--tablespace-main-data'),