Skip to content

Commit

Permalink
Updating bash completion build file
Browse files Browse the repository at this point in the history
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 <behlendorf1@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes openzfs#16422
  • Loading branch information
bwatkinson authored Aug 8, 2024
1 parent 8041b2f commit f87fe67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/bash_completion.d/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f87fe67

Please sign in to comment.