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 <rob.norris@klarasystems.com>
This commit is contained in:
Rob Norris 2024-08-08 12:59:38 +10:00 committed by Rob Norris
parent 1f5bf91a85
commit a9dd2cc828
1 changed files with 1 additions and 1 deletions

View File

@ -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 $@