svn commit: r244461 - stable/9/usr.sbin/mergemaster

Eitan Adler eadler at FreeBSD.org
Thu Dec 20 00:30:49 UTC 2012


Author: eadler
Date: Thu Dec 20 00:30:48 2012
New Revision: 244461
URL: http://svnweb.freebsd.org/changeset/base/244461

Log:
  MFC r243891:
  	Add ability to mergemaster to permit the user to type
  	the absolute path to PAGER if mergemaster can not find
  	the one already set.
  
  Approved by:	cperciva (implicit)

Modified:
  stable/9/usr.sbin/mergemaster/mergemaster.sh
Directory Properties:
  stable/9/usr.sbin/mergemaster/   (props changed)

Modified: stable/9/usr.sbin/mergemaster/mergemaster.sh
==============================================================================
--- stable/9/usr.sbin/mergemaster/mergemaster.sh	Thu Dec 20 00:30:48 2012	(r244460)
+++ stable/9/usr.sbin/mergemaster/mergemaster.sh	Thu Dec 20 00:30:48 2012	(r244461)
@@ -424,6 +424,8 @@ check_pager () {
     echo "  Use 'l' to set PAGER to 'less' for this run"
     echo "  Use 'm' to use plain old 'more' as your PAGER for this run"
     echo ''
+    echo "  or you may type an absolute path to PAGER for this run"
+    echo ''
     echo "  Default is to use plain old 'more' "
     echo ''
     echo -n "What should I do? [Use 'more'] "
@@ -439,6 +441,9 @@ check_pager () {
     [mM]|'')
        PAGER=more
        ;;
+    /*)
+       PAGER="$FIXPAGER"
+       ;;
     *)
        echo ''
        echo "invalid choice: ${FIXPAGER}"


More information about the svn-src-stable-9 mailing list