Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2012 13:56:33 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243891 - head/usr.sbin/mergemaster
Message-ID:  <201212051356.qB5DuXkh068120@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Wed Dec  5 13:56:32 2012
New Revision: 243891
URL: http://svnweb.freebsd.org/changeset/base/243891

Log:
  Add ability to mergemaster to permit the user to type
  the absolute path to PAGER if mergemaster can not find
  the one already set.
  
  Reviewed by:	mjg
  Approved by:	cperciva
  MFC after:	2 weeks

Modified:
  head/usr.sbin/mergemaster/mergemaster.sh

Modified: head/usr.sbin/mergemaster/mergemaster.sh
==============================================================================
--- head/usr.sbin/mergemaster/mergemaster.sh	Wed Dec  5 13:05:24 2012	(r243890)
+++ head/usr.sbin/mergemaster/mergemaster.sh	Wed Dec  5 13:56:32 2012	(r243891)
@@ -426,6 +426,8 @@ check_pager () {
     fi
     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'] "
@@ -451,6 +453,9 @@ check_pager () {
     [mM]|'')
        PAGER=more
        ;;
+    /*)
+       PAGER="$FIXPAGER"
+       ;;
     *)
        echo ''
        echo "invalid choice: ${FIXPAGER}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212051356.qB5DuXkh068120>