diff options
author | 1996-06-28 06:02:59 +0000 | |
---|---|---|
committer | 1996-06-28 06:02:59 +0000 | |
commit | 52bca56bf9fc6f807967124b8e03adc799f239db (patch) | |
tree | 5c7fc16c0f8f8d9cdbc0b0690b6c63e046926379 | |
parent | add hook for user to turn on/off raw mode (diff) | |
download | wireguard-openbsd-52bca56bf9fc6f807967124b8e03adc799f239db.tar.xz wireguard-openbsd-52bca56bf9fc6f807967124b8e03adc799f239db.zip |
Try a bit harder to get the user's default organization
-rw-r--r-- | gnu/usr.bin/sendbug/sendbug.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/sendbug/sendbug.sh b/gnu/usr.bin/sendbug/sendbug.sh index 7c207b9b731..5ae3a6336c7 100644 --- a/gnu/usr.bin/sendbug/sendbug.sh +++ b/gnu/usr.bin/sendbug/sendbug.sh @@ -21,7 +21,7 @@ # along with GNU GNATS; see the file COPYING. If not, write to # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. # -# $OpenBSD: sendbug.sh,v 1.1 1996/06/27 21:09:07 tholo Exp $ +# $OpenBSD: sendbug.sh,v 1.2 1996/06/28 06:02:59 tholo Exp $ # The version of this send-pr. VERSION=3.97 @@ -141,12 +141,12 @@ if [ -n "$ORGANIZATION" ]; then ORGANIZATION="`cat $ORGANIZATION`" fi else - if [ -n "$DEFAULT_ORGANIZATION" ]; then - ORGANIZATION="$DEFAULT_ORGANIZATION" - elif [ -f $HOME/.organization ]; then + if [ -f $HOME/.organization ]; then ORGANIZATION="`cat $HOME/.organization`" elif [ -f $HOME/.signature ]; then ORGANIZATION="`cat $HOME/.signature`" + elif [ -n "$DEFAULT_ORGANIZATION" ]; then + ORGANIZATION="$DEFAULT_ORGANIZATION" fi fi |