Skip to content

Commit

Permalink
contrib: bash_completion.d: force zpool symlink recreation
Browse files Browse the repository at this point in the history
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 openzfs#16423
  • Loading branch information
robn authored and tonyhutter committed Nov 6, 2024
1 parent 5dac614 commit 9a0ebe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/bash_completion.d/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

0 comments on commit 9a0ebe3

Please sign in to comment.