summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2015-09-27 16:48:18 +0300
committerTanu Kaskinen <tanuk@iki.fi>2015-09-27 17:02:17 +0300
commit772d655de68c31b53b0fd8173c7c9ac997c72e48 (patch)
tree8a83c92d5ce398b221eb0f98b4e7af0aa855ce97
parent08959f83d0816fa890452550ea2f0dbd7ebf1205 (diff)
downloadpulseaudio-772d655de68c31b53b0fd8173c7c9ac997c72e48.tar.gz
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.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dac52c2c9..003673e35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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