Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RFC: Recent macos lacks nroff and man needs a full path
- X-seq: zsh-workers 53346
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: RFC: Recent macos lacks nroff and man needs a full path
- Date: Sun, 2 Feb 2025 14:45:47 -0800
- Archived-at: <https://zsh.org/workers/53346>
- List-id: <zsh-workers.zsh.org>
Is $ENV{'PWD'} reliable enough here?
diff --git a/Util/helpfiles b/Util/helpfiles
index 9e837fe2d..eed9b6d0e 100755
--- a/Util/helpfiles
+++ b/Util/helpfiles
@@ -54,7 +54,7 @@
$mantmp = $destdir . '/man.tmp';
$coltmpbase = 'col.tmp';
$coltmp = $destdir . '/' . $coltmpbase;
-$args = "$manfile >$mantmp";
+$args = "$ENV{'PWD'}/$manfile >$mantmp";
unlink($mantmp);
&Info('attempting man ', $args);
if(system('man ' . $args) || !(-s $mantmp)) {
Messages sorted by:
Reverse Date,
Date,
Thread,
Author