mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
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 <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 #16423
This commit is contained in:
parent
3ae05e34e5
commit
8041b2f019
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user