summaryrefslogtreecommitdiffstats
path: root/contrib/bash_completion.d
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-09 08:36:09 +1000
committerGitHub <[email protected]>2024-08-08 15:36:09 -0700
commit8041b2f019a2c0533e3288b0790d5d759ced24f3 (patch)
treea64712568c343ccf56081d5837474de9b4956df1 /contrib/bash_completion.d
parent3ae05e34e5dde41c48705b39eb6dbec8676f9bc9 (diff)
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 <[email protected]> Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Mateusz Piotrowski <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16423
Diffstat (limited to 'contrib/bash_completion.d')
-rw-r--r--contrib/bash_completion.d/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bash_completion.d/Makefile.am b/contrib/bash_completion.d/Makefile.am
index d3e6c0e79..cc901b34d 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 $@