aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-19 19:07:59 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-19 19:07:59 +0000
commitaa728ac67667b1d2f2b28aa014018150f1a64f64 (patch)
treea9c98c98e2e0c581500c511d6ab1d690c290fc71
parentaf00c7bc63bf8541a89a7185005f8ab88a8cf505 (diff)
downloadmonitoring-plugins-aa728ac67667b1d2f2b28aa014018150f1a64f64.tar.gz
another try at portable symlinking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@214 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 633efa5b..961a3218 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)