summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2013-11-15 22:19:02 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2013-11-15 22:19:02 -0800
commit17465686af268368047b3e89f4fafc971224ab77 (patch)
treead5482bd7a82f7c2da2b03440ded7b30b90457e3
parente7fa65ffae499441bae9e967083c26e342e0fac7 (diff)
downloadzsh-17465686af268368047b3e89f4fafc971224ab77.tar.gz
zsh-17465686af268368047b3e89f4fafc971224ab77.tar.xz
zsh-17465686af268368047b3e89f4fafc971224ab77.zip
One missed hunk from 31988.
-rwxr-xr-xUtil/helpfiles6
1 files changed, 4 insertions, 2 deletions
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.