summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-23 20:45:11 +0000
committerrillig <rillig@pkgsrc.org>2005-11-23 20:45:11 +0000
commit63e9bd3fa3ca9c4d97c42849d417c4f0a1c9ec34 (patch)
treee41a53d69d30f5108b0caeb727cd34afbe42ef60 /mk/bulk
parentb267e20a926fb3d9d947b80e56155e133afc085c (diff)
downloadpkgsrc-63e9bd3fa3ca9c4d97c42849d417c4f0a1c9ec34.tar.gz
Changed the file extension of BROKENWRKLOG from ".html" to ".txt". This is
mostly a cosmetic change. The motives for this change are that the HTML files only consisted of "<pre>", the properly quoted text/plain contents and "</pre>". There has been no documentation of reasons for encoding plain text in HTML unnecessarily, so this change will produce text/plain files instead. Another change is that instead of appending to the BROKENWRKSRC, the file is overwritten each time. In a single bulk build this will not change anything. Only when the package is built multiple times in a single bulk build, the behavior will differ. Ok'ed by agc.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index 0e6565f87ff..827541a960f 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.105 2005/11/20 09:52:51 agc Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.106 2005/11/23 20:45:11 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -88,7 +88,7 @@ BULK_ID?=
BROKENFILE?= .broken${BULK_ID}.html
# This file is the work log for a broken package
-BROKENWRKLOG?= .broken${BULK_ID}.work.html
+BROKENWRKLOG?= .broken${BULK_ID}.work.txt
# This file is human-created to force a package to show up as broken
# (it is never cleaned by the bulk build, and contains the broken reason)
@@ -430,11 +430,7 @@ bulk-package:
else \
${MV} ${_BUILDLOG:Q} ${_BROKENFILE:Q} ;\
if [ -f "${WRKLOG}" ]; then \
- (${ECHO} "<pre>"; \
- ${ECHO} ""; \
- ${TO_HTML} ${WRKLOG}; \
- ${ECHO} "</pre>"; \
- ) >> ${_BROKENWRKLOG:Q}; \
+ ${CP} ${WRKLOG:Q} ${_BROKENWRKLOG:Q}; \
fi; \
( \
if [ -f "${_BROKENWRKLOG:Q}" ]; then \