pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Changed the file extension of BROKENWRKLOG fro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fdbb71c6d035
branches: trunk
changeset: 503577:fdbb71c6d035
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Nov 23 20:45:11 2005 +0000
description:
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:
mk/bulk/bsd.bulk-pkg.mk | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r e7c9001872a9 -r fdbb71c6d035 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk Wed Nov 23 19:25:00 2005 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk Wed Nov 23 20:45:11 2005 +0000
@@ -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@localhost>
@@ -88,7 +88,7 @@
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 @@
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 \
Home |
Main Index |
Thread Index |
Old Index