aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man/manpath/manpath.man
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-10-01 16:58:30 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-10-01 16:58:30 +0000
commit31807569011a495ed19724b4df14eb10a33e63b3 (patch)
tree62279bc7c5741233c797494a79647ff6a7a23376 /gnu/usr.bin/man/manpath/manpath.man
parenta61f7148ba566337bb28f8919011e93edf0b262f (diff)
Notes
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 a287484cd233..8d5a8ab75b6b 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