mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
meson: Install bash completion helper in prefix
A regression was causing the helpers to be installed in /share which
would lead to permission denied error or PolicyKit to promtp for
permission. See:
054fa3aa2
meson: Use new define_variable: feature instead of run_command()
This commit is contained in:
parent
c80a1fd64c
commit
ac83e18323
1 changed files with 2 additions and 2 deletions
|
@ -436,13 +436,13 @@ bash_completions_dir = ''
|
|||
bash_helpers_dir = ''
|
||||
|
||||
if bashcomp_found
|
||||
bash_completions_dir = bashcomp_dep.get_pkgconfig_variable('completionsdir', define_variable: ['prefix', ''])
|
||||
bash_completions_dir = bashcomp_dep.get_pkgconfig_variable('completionsdir', define_variable: ['prefix', '.'])
|
||||
if bash_completions_dir == ''
|
||||
message('Found bash-completion but the .pc file did not set \'completionsdir\'.')
|
||||
bashcomp_found = false
|
||||
endif
|
||||
|
||||
bash_helpers_dir = bashcomp_dep.get_pkgconfig_variable('helpersdir', define_variable: ['prefix', ''])
|
||||
bash_helpers_dir = bashcomp_dep.get_pkgconfig_variable('helpersdir', define_variable: ['prefix', '.'])
|
||||
if bash_helpers_dir == ''
|
||||
message('Found bash-completion, but the .pc file did not set \'helpersdir\'.')
|
||||
bashcomp_found = false
|
||||
|
|
Loading…
Reference in a new issue