From aa728ac67667b1d2f2b28aa014018150f1a64f64 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Tue, 19 Nov 2002 19:07:59 +0000 Subject: [PATCH] another try at portable symlinking git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@214 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 633efa5..961a321 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -137,8 +137,8 @@ $(check_tcp_programs): check_tcp ln -sf check_tcp $@ install-exec-hook: - cd $(DESTDIR)$(libexecdir) - for i in $(check_tcp_programs) ; do ln -sf check_tcp $$i ; done + cd $(DESTDIR)$(libexecdir) && \ + for i in $(check_tcp_programs) ; do rm $$i; ln -sf check_tcp $$i ; done clean-local: rm -f $(check_tcp_programs) -- 2.30.2