From ff544c0b76818b9267de7eb2b9e600f042a85e34 Mon Sep 17 00:00:00 2001 From: Dan Church Date: Wed, 24 Aug 2022 15:56:00 -0500 Subject: [PATCH] Fix wrongly installed mdb-sql completion script Gate it behind the same conditional that the `mdb-sql` program is gated behind. --- src/util/bash-completion/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/bash-completion/Makefile.am b/src/util/bash-completion/Makefile.am index 682050c..526e2a6 100644 --- a/src/util/bash-completion/Makefile.am +++ b/src/util/bash-completion/Makefile.am @@ -1,4 +1,7 @@ if ENABLE_BASH_COMPLETION bashcompletiondir = $(BASH_COMPLETION_DIR) -dist_bashcompletion_DATA = mdb-count mdb-export mdb-hexdump mdb-import mdb-json mdb-parsecsv mdb-prop mdb-queries mdb-schema mdb-sql mdb-tables mdb-ver +dist_bashcompletion_DATA = mdb-count mdb-export mdb-hexdump mdb-import mdb-json mdb-parsecsv mdb-prop mdb-queries mdb-schema mdb-tables mdb-ver +if SQL + dist_bashcompletion_DATA += mdb-sql +endif endif