[jbpm-commits] JBoss JBPM SVN: r3783 - jbpm4/trunk/hudson/jboss/bin.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Feb 5 04:09:21 EST 2009


Author: heiko.braun at jboss.com
Date: 2009-02-05 04:09:21 -0500 (Thu, 05 Feb 2009)
New Revision: 3783

Modified:
   jbpm4/trunk/hudson/jboss/bin/http-spider.sh
Log:
Cleanup http-spider.sh

Modified: jbpm4/trunk/hudson/jboss/bin/http-spider.sh
===================================================================
--- jbpm4/trunk/hudson/jboss/bin/http-spider.sh	2009-02-05 09:03:10 UTC (rev 3782)
+++ jbpm4/trunk/hudson/jboss/bin/http-spider.sh	2009-02-05 09:09:21 UTC (rev 3783)
@@ -34,7 +34,7 @@
 while [  $COUNTER -lt $NUM_RETRIES ]; do
   if wget --spider --timeout=$TIMEOUT --tries=1 $1 &> /dev/null; then
     touch $2/spider.success
-    echo "Try $COUNTER: '$1' is available"  > ./spider.success
+    echo "Try $COUNTER: '$1' is available"  > $2/spider.success
     exit 0
   else
     echo "Try $COUNTER: '$1' does not respond, wait another $SLEEP_TIME seconds"
@@ -44,7 +44,7 @@
 done
 
 touch $2/spider.failed
-echo "Unable to connect to $1, exiting..." > spider.failed
+echo "Unable to connect to $1, exiting..." > $2/spider.failed
 exit 0
 
 




More information about the jbpm-commits mailing list