diff options
author | rillig <rillig@pkgsrc.org> | 2006-02-13 14:55:26 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-02-13 14:55:26 +0000 |
commit | 113781f7f05f929f0bef0d1cb8a37921a87ae059 (patch) | |
tree | 128e23b4f0ad7b39758f369d34f0c5735ee29efc | |
parent | 475fb386434301d3264d6968a1d4e9d47ce0e308 (diff) | |
download | pkgsrc-113781f7f05f929f0bef0d1cb8a37921a87ae059.tar.gz |
Only write the terminating HTML code to the ${_BROKENFILE} if the
package is really broken.
-rw-r--r-- | mk/bulk/bsd.bulk-pkg.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index 38c333c185a..6f6f12ddc69 100644 --- a/mk/bulk/bsd.bulk-pkg.mk +++ b/mk/bulk/bsd.bulk-pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.bulk-pkg.mk,v 1.118 2006/02/11 11:46:41 rillig Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.119 2006/02/13 14:55:26 rillig Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org> @@ -534,6 +534,9 @@ bulk-package: fi @if [ ! -f ${PKGFILE} ]; then \ ${BULK_MSG} "Build for ${PKGNAME} was not successful, aborting." | ${TEE} -a ${_BROKENFILE:Q} ; \ + { ${ECHO} "</body>"; \ + ${ECHO} "</html>"; \ + } >> ${_BROKENFILE:Q}; \ exitcode=1; \ else \ case ${KEEP_BUILDLOGS} in \ @@ -545,9 +548,6 @@ bulk-package: esac; \ exitcode=0; \ fi; \ - { ${ECHO} "</body>"; \ - ${ECHO} "</html>"; \ - } >> ${_BROKENFILE:Q}; \ exit $$exitcode .if ${BULKFILESDIR} != ${PKGSRCDIR} ${_PKG_SILENT}${_PKG_DEBUG} \ |