From 94fa1c3d966caf483df7a1c1a00551b8c804c6cc Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Wed, 24 Feb 2021 12:49:59 -0500 Subject: [PATCH] Force symlink creation for zpool.d compat links gmake install fails when zpool.d compat links already exist. Force the symlinks to be recreated if already present. Reviewed-by: Matthew Ahrens Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #11633 --- cmd/zpool/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am index d47051e4fe50..abfa940c3d72 100644 --- a/cmd/zpool/Makefile.am +++ b/cmd/zpool/Makefile.am @@ -179,5 +179,5 @@ install-data-hook: ln -s "$(zpoolexecdir)/$${f}" "$(DESTDIR)$(zpoolconfdir)"; \ done for l in $(zpoolcompatlinks); do \ - (cd "$(DESTDIR)$(zpoolcompatdir)"; ln -s $${l} ); \ + (cd "$(DESTDIR)$(zpoolcompatdir)"; ln -sf $${l} ); \ done