From dbfbc1e524f942ec986b37d4eab768e3b5e32970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sun, 30 May 2021 05:37:05 +0200 Subject: [PATCH] zstream: force-install zstreamdump link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Accidentally introduced by commit dd00925e8d. Force-install the zstreamdump link, this is a supported configuration and the install should not fail if it needs to overwrite an existing file. Also cd to work around some funny platforms as noted in AC_PROG_LN_S doc Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Reviewed-by: Allan Jude Signed-off-by: Ahelenia ZiemiaƄska Closes #12143 --- cmd/zstream/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zstream/Makefile.am b/cmd/zstream/Makefile.am index f36e1e364f..8e813027fa 100644 --- a/cmd/zstream/Makefile.am +++ b/cmd/zstream/Makefile.am @@ -17,4 +17,4 @@ zstream_LDADD = \ include $(top_srcdir)/config/CppCheck.am install-exec-hook: - $(LN_S) zstream $(DESTDIR)$(sbindir)/zstreamdump + cd $(DESTDIR)$(sbindir) && $(LN_S) -f zstream zstreamdump