[m-dev.] diff: fix bug that broke www install
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Feb 6 22:12:39 AEDT 2001
Estimated hours taken: 0.5
compiler/notes/Mmakefile:
Set TERM to vt100 before running lynx, to avoid errors when
running this Mmakefile from cron.
Workspace: /home/venus/fjh/ws-venus2/mercury
Index: compiler/notes/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/notes/Mmakefile,v
retrieving revision 1.8
diff -u -d -r1.8 Mmakefile
--- compiler/notes/Mmakefile 1999/09/16 04:46:21 1.8
+++ compiler/notes/Mmakefile 2001/02/06 11:06:43
@@ -13,7 +13,12 @@
INSTALL_WEB_SUBDIR=$(INSTALL_WEBDIR)/developer
-HTML_TO_TEXT=lynx -dump
+# Note that we need to explicitly set TERM=vt100,
+# because otherwise lynx complains if TERM is not set properly
+# (as is the case when this Makefile is run from a cron job).
+# This is a bug in lynx -- it should ignore TERM when given
+# the `-dump' option.
+HTML_TO_TEXT=TERM=vt100 lynx -dump
#-----------------------------------------------------------------------------#
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list