mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
Fix Linux CI build
This commit is contained in:
parent
176ffc7f51
commit
a3c8f32c1a
2 changed files with 9 additions and 8 deletions
|
|
@ -639,9 +639,9 @@ def setup_man_pages() -> None:
|
|||
|
||||
def build_extra_man_pages() -> None:
|
||||
base = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
kitten = os.path.join(base, 'kitty/launcher/kitten')
|
||||
kitten = os.environ.get('KITTEN_EXE_FOR_DOCS', os.path.join(base, 'kitty/launcher/kitten'))
|
||||
if not os.path.exists(kitten):
|
||||
raise Exception('The kitten binary is not built cannot generate man pages')
|
||||
raise Exception(f'The kitten binary {kitten} is not built cannot generate man pages')
|
||||
raw = subprocess.check_output([kitten, '-h']).decode()
|
||||
started = 0
|
||||
names = set()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue