summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rwxr-xr-xUtil/helpfiles2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 929abce32..2c11f7081 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2025-02-12 Bart Schaefer <schaefer@zsh.org>
+ * 53346 (cf. 53350): Util/helpfiles: fix use of "man" on file paths
+
* 53348: Doc/Zsh/builtins.yo, Src/builtin.c, Test/K01nameref.ztst:
Revise handling of incompatible typeset options when used with -n
diff --git a/Util/helpfiles b/Util/helpfiles
index 9e837fe2d..58aa04bba 100755
--- a/Util/helpfiles
+++ b/Util/helpfiles
@@ -54,7 +54,7 @@ $ENV{'GROFF_NO_SGR'} = ''; # We need "classical" formatting of man pages.
$mantmp = $destdir . '/man.tmp';
$coltmpbase = 'col.tmp';
$coltmp = $destdir . '/' . $coltmpbase;
-$args = "$manfile >$mantmp";
+$args = "./$manfile >$mantmp";
unlink($mantmp);
&Info('attempting man ', $args);
if(system('man ' . $args) || !(-s $mantmp)) {