diff --git a/completion/meson.build b/completion/meson.build index 0421f6a..701c634 100644 --- a/completion/meson.build +++ b/completion/meson.build @@ -1,14 +1,14 @@ generate_completions_program = find_program('generate_completions.py') if bash_completion.found() - bash_comp_dir = bash_completion.get_pkgconfig_variable('completionsdir') + bash_comp_dir = bash_completion.get_variable(pkgconfig: 'completionsdir') else bash_comp_dir = get_option('datadir') / 'bash-completion' / 'completions' message('bash-completion not found: using', get_option('prefix') / bash_comp_dir, 'as a falback install directory') endif if fish.found() - fish_comp_dir = fish.get_pkgconfig_variable('completionsdir') + fish_comp_dir = fish.get_variable(pkgconfig: 'completionsdir') else fish_comp_dir = get_option('datadir') / 'fish' / 'completions' message('fish not found: using', get_option('prefix') / fish_comp_dir, 'as a fallback install directory')