Subject: CVS commit: src/gnu/dist/groff
To: None <source-changes@NetBSD.org>
From: Alan Barrett <apb@netbsd.org>
List: source-changes
Date: 09/29/2006 20:19:40
Module Name:	src
Committed By:	apb
Date:		Fri Sep 29 20:19:40 UTC 2006

Modified Files:
	src/gnu/dist/groff: configure.ac

Log Message:
Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:

* Don't use GROFF_CSH_HACK.  It would change the "#! /bin/sh" to just
  ":", and this causes trouble for some shells.  For example, if
  CONFIG_SHELL=/bin/ksh, when the groff build uses ${CONFIG_SHELL} to
  run a script that has been modified in this way, ksh sees the ":" and
  decided to run the script under /bin/sh instead.

* Use SH_SCRIPT_SED_CMD="1s,/bin/sh,${CONFIG_SHELL},"
  to edit the "#! /bin/sh" line, to ensure that scripts
  are always run under the correct shell.


To generate a diff of this commit:
cvs rdiff -r1.1.1.3 -r1.2 src/gnu/dist/groff/configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.