User: user57  
  Date: 01/08/31 19:55:52

  Modified:    src/bin  nightly-website.sh
  Log:
   o allowing MAILTO to be overriden on the command line, logs a warning message
     in that case.
  
  Revision  Changes    Path
  1.7       +9 -5      newsite/src/bin/nightly-website.sh
  
  Index: nightly-website.sh
  ===================================================================
  RCS file: /cvsroot/jboss/newsite/src/bin/nightly-website.sh,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- nightly-website.sh        2001/09/01 02:47:22     1.6
  +++ nightly-website.sh        2001/09/01 02:55:52     1.7
  @@ -5,7 +5,7 @@
   ##                                                                          ##
   ### ====================================================================== ###
   
  -# $Id: nightly-website.sh,v 1.6 2001/09/01 02:47:22 user57 Exp $
  +# $Id: nightly-website.sh,v 1.7 2001/09/01 02:55:52 user57 Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
  @@ -16,16 +16,20 @@
   # Where the logs will go
   LOGFILE="$HOME/log/nightly-website.log"
   
  -# Setup Mail
  -MAIL="mail"
  -MAILTO="[EMAIL PROTECTED]"
  -
   ##
   ## Print an informative message
   ##
   info() {
       echo "${PROGNAME}: $*"
   }
  +
  +# Setup Mail
  +MAIL="mail"
  +if [ "x$MAILTO" = "x" ]; then
  +    MAILTO="[EMAIL PROTECTED]"
  +else
  +    info "Using MAILTO: $MAILTO"
  +fi
   
   ##
   ## Print an error message and exit
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to