summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/man/manpath/manpath.man
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/man/manpath/manpath.man')
-rw-r--r--gnu/usr.bin/man/manpath/manpath.man9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/manpath/manpath.man b/gnu/usr.bin/man/manpath/manpath.man
index a287484..8d5a8ab 100644
--- a/gnu/usr.bin/man/manpath/manpath.man
+++ b/gnu/usr.bin/man/manpath/manpath.man
@@ -38,6 +38,15 @@ looks for the subdirectories
or
.Pa MAN .
If they exist, they are added to the search path.
+If they do not exist, but the directory ends in
+.Pa /bin ,
+.Nm
+replaces
+.Pa /bin
+with
+.Pa /man
+and checks if that directory exists.
+If it exists, it is added to the search path.
.Pp
.Nm Manpath
is used by
OpenPOWER on IntegriCloud