From: Karel Zak Date: Tue, 4 Jan 2022 11:57:52 +0000 (+0100) Subject: meson: fix bash_completion.get_variable() use X-Git-Tag: v2.38-rc1~75 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=caa85688c2a4925bf84d65fb504d9b5df968835c;p=thirdparty%2Futil-linux.git meson: fix bash_completion.get_variable() use Addresses: https://github.com/util-linux/util-linux/pull/1549 Signed-off-by: Karel Zak --- 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