From 60cbeb165ef9362b37ed08227c470fed29cd1c5f Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 1 Feb 2021 17:44:13 +0100 Subject: [PATCH 1/1] hand in absolute path to nominatim tool to php scripts --- cmake/tool.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5