From 8041b2f019a2c0533e3288b0790d5d759ced24f3 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Fri, 9 Aug 2024 08:36:09 +1000 Subject: [PATCH] contrib: bash_completion.d: force zpool symlink recreation ln will fail if the target already exists, which causes make to bail out. Adding -f makes it more "compiler-like", overwriting the target instead. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Tino Reichardt Reviewed-by: Allan Jude Reviewed-by: Mateusz Piotrowski <0mp@FreeBSD.org> Signed-off-by: Rob Norris Closes #16423 --- contrib/bash_completion.d/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bash_completion.d/Makefile.am b/contrib/bash_completion.d/Makefile.am index d3e6c0e790..cc901b34de 100644 --- a/contrib/bash_completion.d/Makefile.am +++ b/contrib/bash_completion.d/Makefile.am @@ -6,4 +6,4 @@ SHELLCHECKSCRIPTS += $(COMPLETION_FILES) $(call SHELLCHECK_OPTS,$(COMPLETION_FILES)): SHELLCHECK_SHELL = bash %D%/zpool: %D%/zfs - $(LN_S) zfs $@ + $(LN_S) -f zfs $@