Allow $PAGER to have arguments.

Submitted by:	brian
Reviewed by:	Doug Barton <Doug@gorean.org>
Approved by:	jkh
This commit is contained in:
Bill Fumerola 2000-02-08 22:31:53 +00:00
parent 13c032fd0e
commit b85666e879
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57066

View File

@ -107,7 +107,7 @@ echo ''
#
case "${DONT_CHECK_PAGER}" in
'')
if [ -n "${PAGER}" -a ! -x "${PAGER}" ]; then
if [ -n "${PAGER}" -a ! -x "${PAGER%% *}" ]; then
echo " *** Your PAGER environment variable specifies '${PAGER}', but"
echo " I cannot execute it. In general it is good practice to"
echo " specify the full path for environment variables like"