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 <milky-zfs@mcmilk.de>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Mateusz Piotrowski <0mp@FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes openzfs#16423
  • Loading branch information
robn authored and lundman committed Sep 4, 2024
1 parent 6cd9b86 commit f3d3cf9
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 f3d3cf9

Please sign in to comment.