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