diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-01 02:12:54 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-01 02:12:54 (GMT) |
commit | 30c81e1c780ea80d316ee5f705b124abe4ab12bd (patch) | |
tree | bbef0b411c2191d20d90536eb18212d6ee5199df /plugins | |
parent | c4361620a0596945d3b438f9351122970fa7ab53 (diff) | |
download | monitoring-plugins-30c81e1c780ea80d316ee5f705b124abe4ab12bd.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/trunk@624 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 19c02cd..8f25623 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -130,11 +130,12 @@ gethostbyname.o: gethostbyname.h $(PLUGINHDRS) | |||
130 | all-local: $(check_tcp_programs) | 130 | all-local: $(check_tcp_programs) |
131 | 131 | ||
132 | $(check_tcp_programs): check_tcp | 132 | $(check_tcp_programs): check_tcp |
133 | ln -s -f check_tcp $@ | 133 | rm -f $@ |
134 | ln -s check_tcp $@ | ||
134 | 135 | ||
135 | install-exec-hook: | 136 | install-exec-hook: |
136 | cd $(DESTDIR)$(libexecdir) && \ | 137 | cd $(DESTDIR)$(libexecdir) && \ |
137 | for i in $(check_tcp_programs) ; do rm -f $$i; ln -s -f check_tcp $$i ; done | 138 | for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done |
138 | 139 | ||
139 | clean-local: | 140 | clean-local: |
140 | rm -f $(check_tcp_programs) | 141 | rm -f $(check_tcp_programs) |