From 17465686af268368047b3e89f4fafc971224ab77 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Fri, 15 Nov 2013 22:19:02 -0800 Subject: One missed hunk from 31988. --- Util/helpfiles | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Util') diff --git a/Util/helpfiles b/Util/helpfiles index 221f673f6..26cfb6f5e 100755 --- a/Util/helpfiles +++ b/Util/helpfiles @@ -61,8 +61,10 @@ unless(-d $destdir) { mkdir($destdir) || &Die("$destdir is not a directory and cannot be created"); } -delete($ENV{'MANPL'}); -delete($ENV{'MANROFFSEQ'}); +foreach (keys %ENV) { + delete($ENV{$_}) if(/^((LC_)|(LESS)|(MAN))/); +} +$ENV{'LANG'} = 'C'; $ENV{'MANWIDTH'} = '80'; $ENV{'GROFF_NO_SGR'} = ''; # We need "classical" formatting of man pages. -- cgit 1.4.1