User: user57  
  Date: 01/08/31 18:39:26

  Modified:    src/bin  catchlog.sh nightly-website.sh
  Log:
   o trying to get exit status passed from update-website.sh to catchlog.sh
     back to nightly-website.sh
  
  Revision  Changes    Path
  1.3       +2 -1      newsite/src/bin/catchlog.sh
  
  Index: catchlog.sh
  ===================================================================
  RCS file: /cvsroot/jboss/newsite/src/bin/catchlog.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- catchlog.sh       2001/09/01 01:31:40     1.2
  +++ catchlog.sh       2001/09/01 01:39:26     1.3
  @@ -6,7 +6,7 @@
   ##                                                                          ##
   ### ====================================================================== ###
   
  -# $Id: catchlog.sh,v 1.2 2001/09/01 01:31:40 user57 Exp $
  +# $Id: catchlog.sh,v 1.3 2001/09/01 01:39:26 user57 Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
  @@ -132,6 +132,7 @@
        $args >> $logfile 2>&1
        status=$?
       fi
  +    info "Exit status: $status"
   
       # try to get file to flush
       echo "Closing log: `date`" >> $logfile
  
  
  
  1.3       +12 -1     newsite/src/bin/nightly-website.sh
  
  Index: nightly-website.sh
  ===================================================================
  RCS file: /cvsroot/jboss/newsite/src/bin/nightly-website.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- nightly-website.sh        2001/09/01 01:31:40     1.2
  +++ nightly-website.sh        2001/09/01 01:39:26     1.3
  @@ -5,7 +5,7 @@
   ##                                                                          ##
   ### ====================================================================== ###
   
  -# $Id: nightly-website.sh,v 1.2 2001/09/01 01:31:40 user57 Exp $
  +# $Id: nightly-website.sh,v 1.3 2001/09/01 01:39:26 user57 Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
  @@ -19,6 +19,14 @@
   # Where the logs will go
   LOGFILE="$HOME/log/nightly-website.log"
   
  +# Setup Mail
  +MAIL="mail"
  +MAILTO="[EMAIL PROTECTED]" # change to [EMAIL PROTECTED] when done testing
  +
  +# Setup CVS
  +CVSROOT=":pserver:[EMAIL PROTECTED]:/cvsroot/jboss"
  +export CVSROOT 
  +
   # Run the update-website.sh script.  It must be wrapped with catchlog.sh, 
   # because it uses the log file to determine build successes from it
   
  @@ -27,3 +35,6 @@
       --logfile $LOGFILE \
       -- \
       $SCRIPTROOT/update-website.sh $LOGFILE
  +
  +status=$?
  +echo "Exit status: $status"
  
  
  

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

Reply via email to