From caa85688c2a4925bf84d65fb504d9b5df968835c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 4 Jan 2022 12:57:52 +0100 Subject: [PATCH] meson: fix bash_completion.get_variable() use Addresses: https://github.com/util-linux/util-linux/pull/1549 Signed-off-by: Karel Zak --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index be02e71fd0..0b65e8647c 100644 --- a/meson.build +++ b/meson.build @@ -3230,12 +3230,12 @@ if bash_completion.found() foreach completion : bashcompletions install_data( join_paths('bash-completion', completion), - install_dir : bash_completion.get_variable('completionsdir') + install_dir : bash_completion.get_variable(pkgconfig : 'completionsdir') ) endforeach foreach link_name, target : bashcompletionslinks meson.add_install_script(meson_make_symlink, target, - join_paths(bash_completion.get_variable('completionsdir'), link_name)) + join_paths(bash_completion.get_variable(pkgconfig : 'completionsdir'), link_name)) endforeach endif -- 2.47.3