geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r724500 - /geronimo/gbuild/daily_build_scripts/gbuild.sh
Date Mon, 08 Dec 2008 21:51:31 GMT
Author: dwoods
Date: Mon Dec  8 13:51:31 2008
New Revision: 724500

URL: http://svn.apache.org/viewvc?rev=724500&view=rev
Log:
can't declare 'function' and use '()' together on the TCK VMs.  See http://tldp.org/LDP/abs/html/functions.html
for the either/or explaination.

Modified:
    geronimo/gbuild/daily_build_scripts/gbuild.sh

Modified: geronimo/gbuild/daily_build_scripts/gbuild.sh
URL: http://svn.apache.org/viewvc/geronimo/gbuild/daily_build_scripts/gbuild.sh?rev=724500&r1=724499&r2=724500&view=diff
==============================================================================
--- geronimo/gbuild/daily_build_scripts/gbuild.sh (original)
+++ geronimo/gbuild/daily_build_scripts/gbuild.sh Mon Dec  8 13:51:31 2008
@@ -73,7 +73,8 @@
 echo "Using logfile=$log"
 echo "" > $log
 
-function send_mail() {
+# function
+send_mail() {
    subject=$1
    mailto=$2
 
@@ -141,7 +142,8 @@
 java -version >> $log 2>&1
 echo " " >> $log
 
-function build() {
+# function
+build() {
   mvn -B -e -Dmaven.test.skip=$1 $BUILD_OPTS install > temp 2>$1
   tail -100 temp | grep "Missing:"
   if [ $? -eq 0 ]
@@ -153,7 +155,8 @@
   rm -f temp
 }
 
-function copyUnitTestReports() {
+# function
+copyUnitTestReports() {
    DIRS=`find . -type d -name surefire-reports`
    for DIR in $DIRS
    do
@@ -162,7 +165,8 @@
    done
 }
 
-function mail_results() {
+# function
+mail_results() {
    if [ "$1" = "passed" ]
    then
       subject="[BUILD] ${BRANCH}: Successful"



Mime
View raw message