Subject: bin/208: send-pr ignores SUBMITTER environment variable
To: None <gnats-admin>
From: Mark Weaver <mhw@cs.brown.edu>
List: netbsd-bugs
Date: 04/06/1994 20:05:06
>Number: 208
>Category: bin
>Synopsis: send-pr ignores SUBMITTER environment variable
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: mhw
>Arrival-Date: Wed Apr 6 20:05:04 1994
>Originator: Mark Weaver
>Organization:
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu | Brown University
PGP Key: finger mhw@cs.brown.edu | Dept of Computer Science
>Release: current-940406
>Environment:
System: NetBSD cis-ts3-slip5.cis.brown.edu 0.9a EXCELSIOR#1 i386
>Description:
jtc just assigned me a gnats customer id, and told me that
I should set the SUBMITTER environment variable before running
send-pr. Well, as it turns out, send-pr ignores the SUBMITTER
environment variable.
>How-To-Repeat:
SUBMITTER=test
export SUBMITTER
send-pr
(you'll see that the Submitter-Id field has been initialized to "net")
>Fix:
diff -c src/gnu/usr.bin/send-pr/send-pr.sh.mhw1 src/gnu/usr.bin/send-pr/send-pr.sh
*** src/gnu/usr.bin/send-pr/send-pr.sh.mhw1 Tue Jan 25 05:28:24 1994
--- src/gnu/usr.bin/send-pr/send-pr.sh Wed Apr 6 23:04:45 1994
***************
*** 24,29 ****
--- 24,30 ----
VERSION=xVERSIONx
# The submitter-id for your site.
+ [ -z "$SUBMITTER" ] &&
SUBMITTER=xSUBMITTERx
# Where the GNATS directory lives, if at all.
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------