summaryrefslogtreecommitdiff
path: root/source/a/bash/bash_manpages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/bash/bash_manpages.patch')
-rw-r--r--source/a/bash/bash_manpages.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/source/a/bash/bash_manpages.patch b/source/a/bash/bash_manpages.patch
new file mode 100644
index 00000000..ce0bd44d
--- /dev/null
+++ b/source/a/bash/bash_manpages.patch
@@ -0,0 +1,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)