From f87fe67b4449de33f814794710b2f1ef8b1d6e42 Mon Sep 17 00:00:00 2001 From: Brian Atkinson Date: Thu, 8 Aug 2024 18:39:25 -0400 Subject: [PATCH] Updating bash completion build file Commit 46ebd0a updated the build system to make symbolic link for zpool. However, this commit did not update the automake file to also add the symbolic link to the CLEANFILES variable. This is necessary so the link is removed when running make clean/distclean. Reviewed-by: Brian Behlendorf Reviewed-by: Tino Reichardt Signed-off-by: Brian Atkinson Closes #16422 --- contrib/bash_completion.d/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/bash_completion.d/Makefile.am b/contrib/bash_completion.d/Makefile.am index cc901b34de12..95d4ffa76e22 100644 --- a/contrib/bash_completion.d/Makefile.am +++ b/contrib/bash_completion.d/Makefile.am @@ -1,6 +1,7 @@ nodist_bashcompletion_DATA = %D%/zfs %D%/zpool COMPLETION_FILES = %D%/zfs -SUBSTFILES += $(COMPLETION_FILES) +SUBSTFILES += $(COMPLETION_FILES) +CLEANFILES += %D%/zpool SHELLCHECKSCRIPTS += $(COMPLETION_FILES) $(call SHELLCHECK_OPTS,$(COMPLETION_FILES)): SHELLCHECK_SHELL = bash