diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2015-09-27 16:48:18 +0300 |
---|---|---|
committer | Arun Raghavan <git@arunraghavan.net> | 2015-10-30 17:52:13 +0530 |
commit | 42f6f3080c5c74f5a8819fb808c601dc4f6c8c38 (patch) | |
tree | 4f798d88a789b5860e2c171adb13a097d783e56f | |
parent | e4cfeddb2b3187549e6d00ad02ab97cf7d7affe9 (diff) |
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.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fa8ea1c87..f7772238e 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 |