You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/02/05 16:41:54 UTC

svn commit: r375048 - in /lenya/zone/bin: nightly-branch.sh nightly-trunk.sh

Author: thorsten
Date: Sun Feb  5 07:41:53 2006
New Revision: 375048

URL: http://svn.apache.org/viewcvs?rev=375048&view=rev
Log:
fixing check conditions

Modified:
    lenya/zone/bin/nightly-branch.sh
    lenya/zone/bin/nightly-trunk.sh

Modified: lenya/zone/bin/nightly-branch.sh
URL: http://svn.apache.org/viewcvs/lenya/zone/bin/nightly-branch.sh?rev=375048&r1=375047&r2=375048&view=diff
==============================================================================
--- lenya/zone/bin/nightly-branch.sh (original)
+++ lenya/zone/bin/nightly-branch.sh Sun Feb  5 07:41:53 2006
@@ -85,7 +85,7 @@
 ./build.sh clean >> $logfile 2>&1
 check=`cat $logfile|grep "BUILD FAILED"`
 echo "statusCheck=$check" >> $logfile
- if [ check ]; then
+ if [ check = "BUILD FAILED" ]; then
    subject="[lenya.branch.update] lenya-trunk build clean failed"
    message="Please resolve possible conflicts by hand login into the zone server and looking at  /export/home/lenya/src/lenya-1.2.x"
    sendMsg "$subject" "$weblog" "$message"
@@ -95,7 +95,7 @@
 ./build.sh >> $logfile 2>&1
 check=`cat $logfile|grep "BUILD FAILED"`
 echo "statusCheck=$check" >> $logfile
- if [ check ]; then
+ if [ check = "BUILD FAILED" ]; then
    subject="[lenya.branch.update] lenya-trunk build failed"
    message="Please resolve possible conflicts by hand login into the zone server and looking at  /export/home/lenya/src/lenya-1.2.x"
    sendMsg "$subject" "$weblog" "$message"

Modified: lenya/zone/bin/nightly-trunk.sh
URL: http://svn.apache.org/viewcvs/lenya/zone/bin/nightly-trunk.sh?rev=375048&r1=375047&r2=375048&view=diff
==============================================================================
--- lenya/zone/bin/nightly-trunk.sh (original)
+++ lenya/zone/bin/nightly-trunk.sh Sun Feb  5 07:41:53 2006
@@ -120,7 +120,7 @@
    sendMsg "$subject" "$weblog" "$message"
    exit 1
  fi
- if [ check ]; then
+ if [ check = "BUILD FAILED" ]; then
    subject="[lenya.trunk.update] lenya-trunk build clean failed"
    message="Please resolve possible conflicts by hand login into the zone server and looking at  /export/home/lenya/src/lenya-trunk"
    sendMsg "$subject" "$weblog" "$message"
@@ -138,7 +138,7 @@
    sendMsg "$subject" "$weblog" "$message"
    exit 1
  fi
- if [ check ]; then
+ if [ check = "BUILD FAILED" ]; then
    subject="[lenya.trunk.update] lenya-trunk build failed"
    message="Please resolve possible conflicts by hand login into the zone server and looking at  /export/home/lenya/src/lenya-trunk"
    sendMsg "$subject" "$weblog" "$message"



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org