summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-01 02:12:54 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-01 02:12:54 (GMT)
commitb90682968140e77e7df009fbc43d562c274e8ce9 (patch)
tree9ae74da1f5396643c1a31208da47b4931377417f
parentb8f7f0e330d92a9a7962f0bb9912f64d44c54168 (diff)
downloadmonitoring-plugins-b90682968140e77e7df009fbc43d562c274e8ce9.tar.gz
'ln -f -s ...' is not reliable/portable. Use 'rm -f ...; ln -s ...'
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@624 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 2561954..1529ef8 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -128,11 +128,12 @@ libsnprintf.a: snprintf.o
128all-local: $(check_tcp_programs) 128all-local: $(check_tcp_programs)
129 129
130$(check_tcp_programs): check_tcp 130$(check_tcp_programs): check_tcp
131 ln -s -f check_tcp $@ 131 rm -f $@
132 ln -s check_tcp $@
132 133
133install-exec-hook: 134install-exec-hook:
134 cd $(DESTDIR)$(libexecdir) && \ 135 cd $(DESTDIR)$(libexecdir) && \
135 for i in $(check_tcp_programs) ; do rm -f $$i; ln -s -f check_tcp $$i ; done 136 for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done
136 137
137clean-local: 138clean-local:
138 rm -f $(check_tcp_programs) 139 rm -f $(check_tcp_programs)