mirror of
https://github.com/mpv-player/mpv
synced 2025-01-08 16:10:29 +00:00
build: fix generation of zsh completion
The Perl script must be run *after* the mpv executable is generated. Also use an absolute path to it.
This commit is contained in:
parent
85cd114e54
commit
6842d4bde5
@ -38,8 +38,8 @@ def __matroska_definitions__(ctx, **kwargs):
|
||||
|
||||
def __zshcomp__(ctx, **kwargs):
|
||||
ctx(
|
||||
rule = __zshcomp_cmd__(ctx, './mpv'),
|
||||
before = ("c",),
|
||||
rule = __zshcomp_cmd__(ctx, ctx.bldnode.abspath() + '/mpv'),
|
||||
after = ("c", "cprogram",),
|
||||
name = os.path.basename(kwargs['target']),
|
||||
**kwargs
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user