See what's going on with finding kitten in CI

This commit is contained in:
Kovid Goyal
2023-11-11 20:11:40 +05:30
parent 2ffe03ee48
commit 87f7bd2f9e

View File

@@ -641,6 +641,7 @@ def build_extra_man_pages() -> None:
base = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
kitten = os.environ.get('KITTEN_EXE_FOR_DOCS', os.path.join(base, 'kitty/launcher/kitten'))
if not os.path.exists(kitten):
subprocess.call(['find', os.path.dirname(kitten)])
raise Exception(f'The kitten binary {kitten} is not built cannot generate man pages')
raw = subprocess.check_output([kitten, '-h']).decode()
started = 0