mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Fix usage of GROFF_BIN_PATH.
This commit is contained in:
parent
1d6caf5240
commit
289950f4f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76025
@ -107,7 +107,7 @@ shows the version number.
|
||||
.B GROFF_BIN_PATH
|
||||
A colon separated list of directories in which to search for the
|
||||
.B groff
|
||||
executable. If unset, `@BINDIR@' is used.
|
||||
executable before searching in PATH. If unset, `@BINDIR@' is used.
|
||||
.SH NOTES
|
||||
This shell script is basically intended for use with
|
||||
.BR man (1),
|
||||
|
@ -92,10 +92,8 @@ done
|
||||
# This shell script is intended for use with man, so warnings are
|
||||
# probably not wanted. Also load nroff-style character definitions.
|
||||
|
||||
OLD_PATH=$PATH
|
||||
: ${GROFF_BIN_PATH=@BINDIR@}
|
||||
export GROFF_BIN_PATH
|
||||
PATH=$GROFF_BIN_PATH
|
||||
PATH=$OLD_PATH groff $safer -Wall -mtty-char $T $opts ${1+"$@"}
|
||||
PATH=$GROFF_BIN_PATH:$PATH groff $safer -Wall -mtty-char $T $opts ${1+"$@"}
|
||||
|
||||
# eof
|
||||
|
Loading…
Reference in New Issue
Block a user