diff options
-rw-r--r-- | contrib/groff/src/roff/nroff/nroff.man | 2 | ||||
-rwxr-xr-x | contrib/groff/src/roff/nroff/nroff.sh | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/contrib/groff/src/roff/nroff/nroff.man b/contrib/groff/src/roff/nroff/nroff.man index f7f6d38..2f42702 100644 --- a/contrib/groff/src/roff/nroff/nroff.man +++ b/contrib/groff/src/roff/nroff/nroff.man @@ -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), diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh index f2e02f3..e16472e 100755 --- a/contrib/groff/src/roff/nroff/nroff.sh +++ b/contrib/groff/src/roff/nroff/nroff.sh @@ -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 |