]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: fix bash_completion.get_variable() use
authorKarel Zak <kzak@redhat.com>
Tue, 4 Jan 2022 11:57:52 +0000 (12:57 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 4 Jan 2022 11:57:52 +0000 (12:57 +0100)
Addresses: https://github.com/util-linux/util-linux/pull/1549
Signed-off-by: Karel Zak <kzak@redhat.com>
meson.build

index be02e71fd01f1b11b0be21fe11449b5949c91ad7..0b65e8647c7295891f562e3ddd4ef5738e9b4c1c 100644 (file)
@@ -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