summaryrefslogtreecommitdiff
path: root/source/a/bash/bash_manpages.patch
blob: ce0bd44d1c6f40e4b278cb1107717c71154265bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
commit 6cfb57d8501e51f7bc6455ff7662be90fe9d6e7a
Author: orbea <orbea@fredslev.dk>
Date:   Mon Mar 12 19:59:25 2018 -0700

    doc: Fix referenced man page paths.
    
    With mandoc opening these man pages will print the following error.
    
    man: bash.1: ERROR: No such file or directory
    
    The issue is that .so requires the prefix path such as man1 while some
    man implementations seemingly ignore this.

diff --git a/doc/builtins.1 b/doc/builtins.1
index 829a49c2..dde1bbef 100644
--- a/doc/builtins.1
+++ b/doc/builtins.1
@@ -19,6 +19,6 @@ shift, shopt, source, suspend, test, times, trap, true, type, typeset,
 ulimit, umask, unalias, unset, wait \- bash built-in commands, see \fBbash\fR(1)
 .SH BASH BUILTIN COMMANDS
 .nr zZ 1
-.so bash.1
+.so man1/bash.1
 .SH SEE ALSO
 bash(1), sh(1)
diff --git a/doc/rbash.1 b/doc/rbash.1
index 56e38fd0..a25fe11e 100644
--- a/doc/rbash.1
+++ b/doc/rbash.1
@@ -3,6 +3,6 @@
 rbash \- restricted bash, see \fBbash\fR(1)
 .SH RESTRICTED SHELL
 .nr zY 1
-.so bash.1
+.so man1/bash.1
 .SH SEE ALSO
 bash(1)