Skip to content

Commit f87fe67

Browse files
authored
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 <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Brian Atkinson <[email protected]> Closes #16422
1 parent 8041b2f commit f87fe67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/bash_completion.d/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
nodist_bashcompletion_DATA = %D%/zfs %D%/zpool
22
COMPLETION_FILES = %D%/zfs
3-
SUBSTFILES += $(COMPLETION_FILES)
3+
SUBSTFILES += $(COMPLETION_FILES)
4+
CLEANFILES += %D%/zpool
45

56
SHELLCHECKSCRIPTS += $(COMPLETION_FILES)
67
$(call SHELLCHECK_OPTS,$(COMPLETION_FILES)): SHELLCHECK_SHELL = bash

0 commit comments

Comments
 (0)