]> git.openstreetmap.org Git - nominatim.git/commitdiff
hand in absolute path to nominatim tool to php scripts
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 1 Feb 2021 16:44:13 +0000 (17:44 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 2 Feb 2021 09:56:40 +0000 (10:56 +0100)
cmake/tool.tmpl

index 3bba72c3a585e81d2b44539e64f4a6ff47bf3eab..c73249b1c51bb8036cc1830e2aaaa812f0423b7f 100755 (executable)
@@ -4,7 +4,7 @@ import os
 
 sys.path.insert(1, '@CMAKE_SOURCE_DIR@')
 
-os.environ['NOMINATIM_NOMINATIM_TOOL'] = __file__
+os.environ['NOMINATIM_NOMINATIM_TOOL'] = os.path.abspath(__file__)
 
 from nominatim import cli