X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5972eb8ee06d9fdbef948b2d260a6aeb50541e57..330b8d2fdfdd935da123abf9ecf96b3bc7a12be5:/cmake/tool.tmpl diff --git a/cmake/tool.tmpl b/cmake/tool.tmpl index fcdbe899..fff8231c 100755 --- a/cmake/tool.tmpl +++ b/cmake/tool.tmpl @@ -1,11 +1,11 @@ -#!/usr/bin/env python3 +#!/srv/nominatim.openstreetmap.org/venv/bin/python3 import sys import os -sys.path.insert(1, '@CMAKE_SOURCE_DIR@') +sys.path.insert(1, '@CMAKE_SOURCE_DIR@/src') -from nominatim import cli -from nominatim import version +from nominatim_db import cli +from nominatim_db import version version.GIT_COMMIT_HASH = '@GIT_HASH@'