summaryrefslogtreecommitdiffstats
path: root/Util
diff options
context:
space:
mode:
authorMax 👨🏽‍💻 Coplan <mchcopl@gmail.com>2025-05-02 14:47:51 -0700
committerdana <dana@dana.is>2025-05-04 07:33:56 -0500
commitd89f3a1d0863a32597e02beaf1a084bca278f772 (patch)
treeb165579a266521318a9c28e466572790b98e18ab /Util
parent53529: A04redirect fix. (diff)
downloadzsh-d89f3a1d0863a32597e02beaf1a084bca278f772.tar
zsh-d89f3a1d0863a32597e02beaf1a084bca278f772.tar.gz
zsh-d89f3a1d0863a32597e02beaf1a084bca278f772.tar.bz2
zsh-d89f3a1d0863a32597e02beaf1a084bca278f772.tar.lz
zsh-d89f3a1d0863a32597e02beaf1a084bca278f772.tar.xz
zsh-d89f3a1d0863a32597e02beaf1a084bca278f772.tar.zst
zsh-d89f3a1d0863a32597e02beaf1a084bca278f772.zip
53535: fix builds with interactive manpagers
Diffstat (limited to 'Util')
-rwxr-xr-xUtil/helpfiles2
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/helpfiles b/Util/helpfiles
index 58aa04bba..71db7d2a4 100755
--- a/Util/helpfiles
+++ b/Util/helpfiles
@@ -57,7 +57,7 @@ $coltmp = $destdir . '/' . $coltmpbase;
$args = "./$manfile >$mantmp";
unlink($mantmp);
&Info('attempting man ', $args);
-if(system('man ' . $args) || !(-s $mantmp)) {
+if(system('MANPAGER=cat man ' . $args) || !(-s $mantmp)) {
unlink($mantmp);
&Info('attempting nroff -man ', $args);
if(system('nroff -man ' . $args) || !(-s $mantmp)) {