From 25248eb09792f67bdc705da3b6b38e262ea3211f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 3 Sep 2018 12:05:45 +0200 Subject: [PATCH] Bail-out early in the for install loops instead of continuing because for masks the error in the middle --- bin/check/Makefile.in | 4 ++-- bin/dig/Makefile.in | 6 +++--- bin/dnssec/Makefile.in | 8 ++++---- lib/bind9/include/bind9/Makefile.in | 4 ++-- lib/dns/include/dns/Makefile.in | 8 ++++---- lib/dns/include/dst/Makefile.in | 4 ++-- lib/irs/include/irs/Makefile.in | 4 ++-- lib/irs/win32/include/irs/Makefile.in | 2 +- lib/isc/include/isc/Makefile.in | 4 ++-- lib/isc/include/pk11/Makefile.in | 4 ++-- lib/isc/include/pkcs11/Makefile.in | 4 ++-- lib/isc/pthreads/include/isc/Makefile.in | 4 ++-- lib/isc/unix/include/isc/Makefile.in | 4 ++-- lib/isc/unix/include/pkcs11/Makefile.in | 4 ++-- lib/isc/win32/include/isc/Makefile.in | 2 +- lib/isc/win32/include/pkcs11/Makefile.in | 2 +- lib/isccc/include/isccc/Makefile.in | 4 ++-- lib/isccfg/include/isccfg/Makefile.in | 4 ++-- lib/ns/include/ns/Makefile.in | 4 ++-- 19 files changed, 40 insertions(+), 40 deletions(-) diff --git a/bin/check/Makefile.in b/bin/check/Makefile.in index 1a26c359ed..b15cd90a70 100644 --- a/bin/check/Makefile.in +++ b/bin/check/Makefile.in @@ -88,12 +88,12 @@ install:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@ installdirs ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkconf@EXEEXT@ ${DESTDIR}${sbindir} ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkzone@EXEEXT@ ${DESTDIR}${sbindir} (cd ${DESTDIR}${sbindir}; rm -f named-compilezone@EXEEXT@; ${LINK_PROGRAM} named-checkzone@EXEEXT@ named-compilezone@EXEEXT@) - for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done + for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8 || exit 1; done (cd ${DESTDIR}${mandir}/man8; rm -f named-compilezone.8; ${LINK_PROGRAM} named-checkzone.8 named-compilezone.8) uninstall:: rm -f ${DESTDIR}${mandir}/man8/named-compilezone.8 - for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done + for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m || exit 1; done rm -f ${DESTDIR}${sbindir}/named-compilezone@EXEEXT@ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkconf@EXEEXT@ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkzone@EXEEXT@ diff --git a/bin/dig/Makefile.in b/bin/dig/Makefile.in index c599094124..8ea146fa0d 100644 --- a/bin/dig/Makefile.in +++ b/bin/dig/Makefile.in @@ -101,12 +101,12 @@ install:: dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@ installdirs ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \ nslookup@EXEEXT@ ${DESTDIR}${bindir} for m in ${MANPAGES}; do \ - ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1; \ - done + ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1 || exit 1; \ + done uninstall:: for m in ${MANPAGES}; do \ - rm -f ${DESTDIR}${mandir}/man1/$$m ; \ + rm -f ${DESTDIR}${mandir}/man1/$$m || exit 1; \ done ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/nslookup@EXEEXT@ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/host@EXEEXT@ diff --git a/bin/dnssec/Makefile.in b/bin/dnssec/Makefile.in index b19fa0626a..dfaad27ff4 100644 --- a/bin/dnssec/Makefile.in +++ b/bin/dnssec/Makefile.in @@ -115,12 +115,12 @@ installdirs: $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8 install:: ${TARGETS} installdirs - for t in ${TARGETS}; do ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir}; done - for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done + for t in ${TARGETS}; do ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir} || exit 1; done + for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8 || exit 1; done uninstall:: - for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done - for t in ${TARGETS}; do ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/$$t ; done + for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m || exit 1; done + for t in ${TARGETS}; do ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/$$t || exit 1; done clean distclean:: rm -f ${TARGETS} diff --git a/lib/bind9/include/bind9/Makefile.in b/lib/bind9/include/bind9/Makefile.in index bd58e8327e..247fbc59f2 100644 --- a/lib/bind9/include/bind9/Makefile.in +++ b/lib/bind9/include/bind9/Makefile.in @@ -30,10 +30,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/bind9 ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/bind9 || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/bind9/$$i ; \ + rm -f ${DESTDIR}${includedir}/bind9/$$i || exit 1; \ done diff --git a/lib/dns/include/dns/Makefile.in b/lib/dns/include/dns/Makefile.in index 91ca18b5ad..77df509c71 100644 --- a/lib/dns/include/dns/Makefile.in +++ b/lib/dns/include/dns/Makefile.in @@ -45,16 +45,16 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dns ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dns || exit 1; \ done for i in ${GENHEADERS}; do \ - ${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns ; \ + ${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns || exit 1; \ done uninstall:: for i in ${GENHEADERS}; do \ - rm -f ${DESTDIR}${includedir}/dns/$$i ; \ + rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \ done for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/dns/$$i ; \ + rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \ done diff --git a/lib/dns/include/dst/Makefile.in b/lib/dns/include/dst/Makefile.in index 3c79bde724..04727f73e4 100644 --- a/lib/dns/include/dst/Makefile.in +++ b/lib/dns/include/dst/Makefile.in @@ -25,10 +25,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dst ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dst || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/dst/$$i ; \ + rm -f ${DESTDIR}${includedir}/dst/$$i || exit 1; \ done diff --git a/lib/irs/include/irs/Makefile.in b/lib/irs/include/irs/Makefile.in index 630dccaec4..b0c5e1414c 100644 --- a/lib/irs/include/irs/Makefile.in +++ b/lib/irs/include/irs/Makefile.in @@ -28,7 +28,7 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs || exit 1; \ done ${INSTALL_DATA} netdb.h ${DESTDIR}${includedir}/irs ${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/irs @@ -37,7 +37,7 @@ uninstall:: rm -f ${DESTDIR}${includedir}/irs/platform.h rm -f ${DESTDIR}${includedir}/irs/netdb.h for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/irs/$$i ; \ + rm -f ${DESTDIR}${includedir}/irs/$$i || exit 1; \ done distclean:: diff --git a/lib/irs/win32/include/irs/Makefile.in b/lib/irs/win32/include/irs/Makefile.in index 0e3925e781..f73058fbc0 100644 --- a/lib/irs/win32/include/irs/Makefile.in +++ b/lib/irs/win32/include/irs/Makefile.in @@ -22,5 +22,5 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs || exit 1; \ done diff --git a/lib/isc/include/isc/Makefile.in b/lib/isc/include/isc/Makefile.in index e9375a2f12..294e8ee7c5 100644 --- a/lib/isc/include/isc/Makefile.in +++ b/lib/isc/include/isc/Makefile.in @@ -46,14 +46,14 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc || exit 1; \ done ${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/isc uninstall:: rm -f ${DESTDIR}${includedir}/isc/platform.h for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/isc/$$i ; \ + rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \ done distclean:: diff --git a/lib/isc/include/pk11/Makefile.in b/lib/isc/include/pk11/Makefile.in index 041c53bd03..395c92435c 100644 --- a/lib/isc/include/pk11/Makefile.in +++ b/lib/isc/include/pk11/Makefile.in @@ -29,10 +29,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pk11 ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pk11 || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/pk11/$$i ; \ + rm -f ${DESTDIR}${includedir}/pk11/$$i || exit 1; \ done diff --git a/lib/isc/include/pkcs11/Makefile.in b/lib/isc/include/pkcs11/Makefile.in index 564242f50b..8b442b462d 100644 --- a/lib/isc/include/pkcs11/Makefile.in +++ b/lib/isc/include/pkcs11/Makefile.in @@ -29,10 +29,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pkcs11 ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/pkcs11/$$i ; \ + rm -f ${DESTDIR}${includedir}/pkcs11/$$i || exit 1; \ done diff --git a/lib/isc/pthreads/include/isc/Makefile.in b/lib/isc/pthreads/include/isc/Makefile.in index e50c70944a..185534f97e 100644 --- a/lib/isc/pthreads/include/isc/Makefile.in +++ b/lib/isc/pthreads/include/isc/Makefile.in @@ -25,10 +25,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \ + ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/isc/$$i ; \ + rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \ done diff --git a/lib/isc/unix/include/isc/Makefile.in b/lib/isc/unix/include/isc/Makefile.in index 8f0e76fda6..720fb0c24f 100644 --- a/lib/isc/unix/include/isc/Makefile.in +++ b/lib/isc/unix/include/isc/Makefile.in @@ -26,10 +26,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \ + ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/isc/$$i ; \ + rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \ done diff --git a/lib/isc/unix/include/pkcs11/Makefile.in b/lib/isc/unix/include/pkcs11/Makefile.in index 235bd3eac2..420fec132c 100644 --- a/lib/isc/unix/include/pkcs11/Makefile.in +++ b/lib/isc/unix/include/pkcs11/Makefile.in @@ -22,10 +22,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 ; \ + ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/pkcs11/$$i ; \ + rm -f ${DESTDIR}${includedir}/pkcs11/$$i || exit 1; \ done diff --git a/lib/isc/win32/include/isc/Makefile.in b/lib/isc/win32/include/isc/Makefile.in index d4316288e9..51b7a3aa4a 100644 --- a/lib/isc/win32/include/isc/Makefile.in +++ b/lib/isc/win32/include/isc/Makefile.in @@ -26,5 +26,5 @@ installdirs: install:: installdirs for i in $(HEADERS); do \ - $(INSTALL_DATA) $(srcdir)\$$i $(includedir)\isc ; \ + $(INSTALL_DATA) $(srcdir)\$$i $(includedir)\isc || exit 1; \ done diff --git a/lib/isc/win32/include/pkcs11/Makefile.in b/lib/isc/win32/include/pkcs11/Makefile.in index b1a718ec21..e9a85d43aa 100644 --- a/lib/isc/win32/include/pkcs11/Makefile.in +++ b/lib/isc/win32/include/pkcs11/Makefile.in @@ -22,5 +22,5 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 ; \ + ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \ done diff --git a/lib/isccc/include/isccc/Makefile.in b/lib/isccc/include/isccc/Makefile.in index 371f836c36..23903db87a 100644 --- a/lib/isccc/include/isccc/Makefile.in +++ b/lib/isccc/include/isccc/Makefile.in @@ -30,10 +30,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccc ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccc || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/isccc/$$i ; \ + rm -f ${DESTDIR}${includedir}/isccc/$$i || exit 1; \ done diff --git a/lib/isccfg/include/isccfg/Makefile.in b/lib/isccfg/include/isccfg/Makefile.in index e154280a26..e0fde73843 100644 --- a/lib/isccfg/include/isccfg/Makefile.in +++ b/lib/isccfg/include/isccfg/Makefile.in @@ -31,10 +31,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccfg ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccfg || exit 1; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/isccfg/$$i ; \ + rm -f ${DESTDIR}${includedir}/isccfg/$$i || exit 1; \ done diff --git a/lib/ns/include/ns/Makefile.in b/lib/ns/include/ns/Makefile.in index 9ccc6171db..9bfa9f1598 100644 --- a/lib/ns/include/ns/Makefile.in +++ b/lib/ns/include/ns/Makefile.in @@ -26,10 +26,10 @@ installdirs: install:: installdirs for i in ${HEADERS}; do \ - ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/ns ; \ + ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/ns || exit 1 ; \ done uninstall:: for i in ${HEADERS}; do \ - rm -f ${DESTDIR}${includedir}/ns/$$i ; \ + rm -f ${DESTDIR}${includedir}/ns/$$i || exit 1 ; \ done