mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-04 20:40:57 +02:00
53535: fix builds with interactive manpagers
This commit is contained in:
parent
7de89c9576
commit
d89f3a1d08
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2025-05-04 dana@dana.is <dana@dana.is>
|
||||
|
||||
* Max Coplan: 53535: Util/helpfiles: fix builds with
|
||||
interactive manpagers
|
||||
|
||||
2025-05-01 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 53529: Test/A04redirect.ztst: Avoid using system area for
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue