User: user57
Date: 01/08/31 19:35:39
Modified: src/bin catchlog.sh nightly-website.sh update-website.sh
Log:
o one last test for good measure.
Revision Changes Path
1.5 +5 -1 newsite/src/bin/catchlog.sh
Index: catchlog.sh
===================================================================
RCS file: /cvsroot/jboss/newsite/src/bin/catchlog.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- catchlog.sh 2001/09/01 02:20:53 1.4
+++ catchlog.sh 2001/09/01 02:35:39 1.5
@@ -6,7 +6,11 @@
## ##
### ====================================================================== ###
-# $Id: catchlog.sh,v 1.4 2001/09/01 02:20:53 user57 Exp $
+# $Id: catchlog.sh,v 1.5 2001/09/01 02:35:39 user57 Exp $
+
+##
+## Returns exit code from child process.
+##
PROGNAME=`basename $0`
DIRNAME=`dirname $0`
1.5 +3 -3 newsite/src/bin/nightly-website.sh
Index: nightly-website.sh
===================================================================
RCS file: /cvsroot/jboss/newsite/src/bin/nightly-website.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nightly-website.sh 2001/09/01 02:20:53 1.4
+++ nightly-website.sh 2001/09/01 02:35:39 1.5
@@ -5,7 +5,7 @@
## ##
### ====================================================================== ###
-# $Id: nightly-website.sh,v 1.4 2001/09/01 02:20:53 user57 Exp $
+# $Id: nightly-website.sh,v 1.5 2001/09/01 02:35:39 user57 Exp $
PROGNAME=`basename $0`
DIRNAME=`dirname $0`
@@ -72,13 +72,13 @@
2)
# website might be down
info "Unexpected child exit status; got $status, wanted 0"
- maillog "${PROGNAME}: failed to install website (may be down)" $LOGFILE
+ maillog "FATAL: failed to install website (may be down)" $LOGFILE
;;
*)
# a generic failure
info "Unexpected child exit status; got $status, wanted 0"
- maillog "${PROGNAME}: failed to update website" $LOGFILE
+ maillog "ERROR: failed to update website" $LOGFILE
;;
esac
}
1.5 +5 -1 newsite/src/bin/update-website.sh
Index: update-website.sh
===================================================================
RCS file: /cvsroot/jboss/newsite/src/bin/update-website.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- update-website.sh 2001/09/01 02:20:53 1.4
+++ update-website.sh 2001/09/01 02:35:39 1.5
@@ -6,7 +6,11 @@
## ##
### ====================================================================== ###
-# $Id: update-website.sh,v 1.4 2001/09/01 02:20:53 user57 Exp $
+# $Id: update-website.sh,v 1.5 2001/09/01 02:35:39 user57 Exp $
+
+##
+## Returns exit status 0 for success, 1 for errors and 2 for fatal errors.
+##
PROGNAME=`basename $0`
DIRNAME=`dirname $0`
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development