From: Sarah Hoffmann Date: Mon, 1 Feb 2021 16:44:13 +0000 (+0100) Subject: hand in absolute path to nominatim tool to php scripts X-Git-Tag: v3.7.0~41^2~9 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/60cbeb165ef9362b37ed08227c470fed29cd1c5f?hp=bddfc109f8fbf2b90dd8989fcb97da14f9137ee5 hand in absolute path to nominatim tool to php scripts --- diff --git a/cmake/tool.tmpl b/cmake/tool.tmpl index 3bba72c3..c73249b1 100755 --- a/cmake/tool.tmpl +++ b/cmake/tool.tmpl @@ -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