#!/usr/bin/ksh
# mail the results of the build to the development team

Usage="Usage: $0 \"note subject\" file-name"
if test "$1" = "?"
then
  echo
  echo $Usage
  echo " where:"
  echo "   \"note subject\" - the subject of the note to be sent to developers"
  echo "               The subject must be in quotes."
  echo "               (no default - required field)"
  echo " "
  echo "   file-name:    The name of the file to send to all developers"
  echo "               (no default- required field)"
  echo " "
  echo " "
  exit 1
fi

if test "$1" = ""
then
  exit
fi

if test "$2" = ""
then
  exit
fi

#####################################
if [ $(uname) = HP-UX ]; then			# Added. JJB.
    #elm -s "$1" dpsteam@hposl03.cup.hp.com <$2	#
     elm -s "$1" $LOGNAME@cup.hp.com        <$2	#
else						#
mail -s " $1 "  \
  dennison@hope             \
  nrdlan@leo                \
  hlava@mustang             \
  bilan@leo                 \
  erik@honda                \
  gman@sirius               \
  gnelson@hope              \
  longstaf@hope             \
  nrjbehrs@hope             \
  nrbschwa@hope             \
  jswalker@leo              \
  nrzesch@hope              \
  whitmill@borg             \
  alimpich@ferrari          \
  mogck@rico                \
  kok@hope                  \
  < $2
fi
exit
#
#    Version      Date     Time    Owner   Comment
# ------------- -------- -------- -------- ----------------------------
# V1.2          01/17/94 05:04:23 bilan    Added all developers
# V1.3          01/21/94 09:57:01 bilan    Changed Stuart Walker mail address
# V1.4          01/24/94 17:26:31 bilan    changes address
# V1.4.1.2      05/06/94 07:42:03 dennison add Mike Rachel David delete Tim Mark
# V1.4.1.4      06/22/94 13:03:08 kok      Update to NotifyDev to send different file
# V1.4.1.5      02/13/95 09:37:48 kok      Add kelly, claudia and dean
# V1.4.1.6      02/21/95 10:16:26 kok      change mogck's node
