mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
53535: fix builds with interactive manpagers
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user