diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-01 02:12:54 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-01 02:12:54 +0000 |
commit | b90682968140e77e7df009fbc43d562c274e8ce9 (patch) | |
tree | 9ae74da1f5396643c1a31208da47b4931377417f | |
parent | b8f7f0e330d92a9a7962f0bb9912f64d44c54168 (diff) | |
download | monitoring-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.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 2561954f..1529ef86 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -128,11 +128,12 @@ libsnprintf.a: snprintf.o | |||
128 | all-local: $(check_tcp_programs) | 128 | all-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 | ||
133 | install-exec-hook: | 134 | install-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 | ||
137 | clean-local: | 138 | clean-local: |
138 | rm -f $(check_tcp_programs) | 139 | rm -f $(check_tcp_programs) |