Subject: bin/14217: send-pr(1) reporting wrong release...
To: SEND-PR <gnats-bugs@gnats.netbsd.org>
From: Don Yuniskis <auryn@gci-net.com>
List: netbsd-bugs
Date: 10/10/2001 14:39:38
>Number:         14217
>Category:       bin
>Synopsis:       bogon in send-pr(1)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 10 14:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Don Yuniskis
>Release:        NetBSD 1.5.2
>Organization:
        Don Yuniskis
>Environment:
System: NetBSD my.host 1.5.2 NetBSD 1.5.2 (DGY) #0: Wed Sep 26 23:29:30 MST
2001
toor@my.host:/usr/src/sys/arch/sparc/compile/DGY sparc


>Description:
        send-pr is still reporting "NetBSD 1.5.1" as the release...
>How-To-Repeat:
        invoke send-pr
>Fix:
        Not sure if there is a reason NOT to have send-pr automatically
        reflect the release of the host it is running on..

*** send-pr     Wed Oct 10 14:31:12 2001
--- send-pr.old Tue Aug 21 08:50:12 2001
***************
*** 41,50 ****
    DATADIR=${GCC_EXEC_PREFIX}../../../lib

  # The default release for this host.
! # N.B. `uname -r -s` and `uname -s -r` *appear* to "do the right thing".
! # But, there doesn't appear to be any guarantee that they will yield
! # "<os_name> <os_release>" in perpetuity.
! DEFAULT_RELEASE="`uname -s` `uname -r`"

  # The default organization.
  DEFAULT_ORGANIZATION=""
--- 41,47 ----
    DATADIR=${GCC_EXEC_PREFIX}../../../lib

  # The default release for this host.
! DEFAULT_RELEASE="NetBSD 1.5.1"

  # The default organization.
  DEFAULT_ORGANIZATION=""



>Release-Note:
>Audit-Trail:
>Unformatted:
 X-send-pr-version: 3.95