build: Fix installation of zsh completions in user-specified directory

This copy/paste from bash could end up installing into "$(DESTDIR)yes",
which is not as intended.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2021-06-28 14:29:12 +01:00
parent 0cc286e33f
commit b13c4dd0fd

View File

@@ -62,7 +62,7 @@ AC_ARG_WITH([zsh-completion-dir],
if test "x$with_zsh_completion_dir" = "xyes"; then
[ZSH_COMPLETION_DIR="$datadir/zsh/site-functions"]
else
ZSH_COMPLETION_DIR="$with_bash_completion_dir"
ZSH_COMPLETION_DIR="$with_zsh_completion_dir"
fi