<p dir="ltr"><br>
On 27-Sep-2015 19:18, "Tanu Kaskinen" <<a href="mailto:tanuk@iki.fi">tanuk@iki.fi</a>> wrote:<br>
><br>
> If bashcompletiondir was empty, the check didn't catch that. As<br>
> a result, the symlinks that were supposed to be generated in the<br>
> completion directory were created in the root directory.<br>
> ---<br>
> <a href="http://configure.ac">configure.ac</a> | 2 +-<br>
> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a><br>
> index fa8ea1c..f777223 100644<br>
> --- a/<a href="http://configure.ac">configure.ac</a><br>
> +++ b/<a href="http://configure.ac">configure.ac</a><br>
> @@ -1439,7 +1439,7 @@ AC_SUBST(udevrulesdir)<br>
> AC_ARG_WITH([bash-completion-dir],<br>
> AS_HELP_STRING([--with-bash-completion-dir=DIR], [Directory for bash completion files]),<br>
> [bashcompletiondir=$withval], [bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion)])<br>
> -if test "x$bashcompletionsdir" = ""; then<br>
> +if test "x$bashcompletionsdir" = "x"; then<br>
> bashcompletiondir="${datadir}/bash-completion/completions"<br>
> fi</p>
<p dir="ltr">Ack.</p>
<p dir="ltr">-- Arun</p>