]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 344] Handle some corner cases better
authorHarlan Stenn <stenn@ntp.org>
Sun, 7 Nov 2004 22:14:12 +0000 (17:14 -0500)
committerHarlan Stenn <stenn@ntp.org>
Sun, 7 Nov 2004 22:14:12 +0000 (17:14 -0500)
bk: 418e9e34LZHCXIscALSZucsuCRvQsQ

bincheck.mf

index 800105985dba700310035cd30037c0c0e8cec44b..c67827dde860018c829703c40baeb503eecbf963 100644 (file)
@@ -7,8 +7,9 @@ install-exec-hook:
         bin) ODIR=${exec_prefix}/sbin ;;                       \
         sbin) ODIR=${exec_prefix}/bin ;;                       \
        esac;                                                   \
-       for i in ${bin_PROGRAMS} ${bin_SCRIPTS}; do             \
-          test -f $$ODIR/$$i && echo "$$i is also in $$ODIR!"; \
+       test -z "${bin_PROGRAMS}${bin_SCRIPTS}"                 \
+       || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do              \
+          test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!";   \
        done
 
 #