summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2025-02-12 20:06:43 -0800
committerBart Schaefer <schaefer@zsh.org>2025-02-12 20:06:43 -0800
commit6b25a593d9dab13fd0314467ff93ba88546b3470 (patch)
tree6942958882e3b2b476e662df78de5ee4ad0303e9
parent7a54b36fa88aa35f44c42715503f716a1612e3b7 (diff)
downloadzsh-6b25a593d9dab13fd0314467ff93ba88546b3470.tar.gz
zsh-6b25a593d9dab13fd0314467ff93ba88546b3470.zip
53346 (cf. 53350): Util/helpfiles: fix use of "man" on file paths
-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)) {