Fix usage of GROFF_BIN_PATH.
This commit is contained in:
parent
1d6caf5240
commit
289950f4f3
@ -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