From dima@chg.ru  Sun Jul 30 12:47:06 2000
Return-Path: <dima@chg.ru>
Received: from chg.ru (netserv1.chg.ru [193.233.46.3])
	by hub.freebsd.org (Postfix) with ESMTP id 1C40A37B76F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Jul 2000 12:47:05 -0700 (PDT)
	(envelope-from dima@chg.ru)
Received: (from dima@localhost)
	by chg.ru (8.9.3/8.9.3) id XAA76906;
	Sun, 30 Jul 2000 23:47:03 +0400 (MSD)
	(envelope-from dima)
Message-Id: <200007301947.XAA76906@chg.ru>
Date: Sun, 30 Jul 2000 23:47:03 +0400 (MSD)
From: "Dmitry S. Sivachenko" <dima@Chg.RU>
Reply-To: dima@Chg.RU
To: FreeBSD-gnats-submit@freebsd.org
Subject: /usr/sbin/mergermaster has incorrect path for `less'
X-Send-Pr-Version: 3.2

>Number:         20305
>Category:       bin
>Synopsis:       /usr/sbin/mergermaster has incorrect path for `less'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 30 12:50:01 PDT 2000
>Closed-Date:    Sun Jul 30 19:13:17 PDT 2000
>Last-Modified:  Sun Jul 30 19:13:43 PDT 2000
>Originator:     Dmitry S. Sivachenko
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

	
FreeBSD-4.1-STABLE

>Description:

Since 'less' is in the base system now, I have no port of 'less' installed.
But mergemaster has hardcoded path for it.
It should be changed to /usr/bin/less in 4-STABLE and 5-CURRENT.
(i.e. for those systems, that have less in the base distribution).
	

>How-To-Repeat:

	

>Fix:
	
	

--- mergemaster.orig	Sun Jul 30 23:34:19 2000
+++ mergemaster	Sun Jul 30 23:35:03 2000
@@ -114,8 +114,8 @@
     echo "     PAGER and EDITOR. Meanwhile, what would you like to do?"
     echo ''
     echo "  Use 'e' to exit mergemaster and fix your PAGER variable"
-    if [ -x /usr/local/bin/less ]; then
-    echo "  Use 'l' to set PAGER to /usr/local/bin/less for this run"
+    if [ -x /usr/bin/less ]; then
+    echo "  Use 'l' to set PAGER to /usr/bin/less for this run"
     fi
     echo "  Use 'm' to use plain old 'more' as your PAGER for this run"
     echo ''
@@ -127,7 +127,7 @@
        exit 0
        ;;
     [lL]*)
-       PAGER=/usr/local/bin/less
+       PAGER=/usr/bin/less
        ;;
     *)
        PAGER=more

>Release-Note:
>Audit-Trail:

From: Doug Barton <DougB@gorean.org>
To: dima@Chg.RU
Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org
Subject: Re: bin/20305: /usr/sbin/mergermaster has incorrect path for `less'
Date: Sun, 30 Jul 2000 18:56:47 -0700

 "Dmitry S. Sivachenko" wrote:
 
 > >Synopsis:       /usr/sbin/mergermaster has incorrect path for `less'
 
 	Please close this one in favor of 19858, whose audit trail has patches to
 solve this problem. 
 
 Thanks,
 
 Doug
 
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Sun Jul 30 19:13:17 PDT 2000 
State-Changed-Why:  
Closed in favor of 19858 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20305 
>Unformatted:
