mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: fix the default bash completion directory
If bashcompletiondir was empty, the check didn't catch that. As a result, the symlinks that were supposed to be generated in the completion directory were created in the root directory.
This commit is contained in:
parent
08959f83d0
commit
772d655de6
1 changed files with 1 additions and 1 deletions
|
|
@ -1439,7 +1439,7 @@ AC_SUBST(udevrulesdir)
|
|||
AC_ARG_WITH([bash-completion-dir],
|
||||
AS_HELP_STRING([--with-bash-completion-dir=DIR], [Directory for bash completion files]),
|
||||
[bashcompletiondir=$withval], [bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion)])
|
||||
if test "x$bashcompletionsdir" = ""; then
|
||||
if test "x$bashcompletionsdir" = "x"; then
|
||||
bashcompletiondir="${datadir}/bash-completion/completions"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue