From a9dd2cc828ccb9f2726ee5c3b16c32ca963083c3 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Thu, 8 Aug 2024 12:59:38 +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. Signed-off-by: Rob Norris --- 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 d3e6c0e79071..cc901b34de12 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 $@