You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/04/18 08:35:45 UTC

svn commit: r766245 - /ofbiz/trunk/debian/ofbiz-framework.config

Author: doogie
Date: Sat Apr 18 06:35:45 2009
New Revision: 766245

URL: http://svn.apache.org/viewvc?rev=766245&view=rev
Log:
There is no longer any funky jumping around with the STATE, so NEXT
is no longer needed.

Modified:
    ofbiz/trunk/debian/ofbiz-framework.config

Modified: ofbiz/trunk/debian/ofbiz-framework.config
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.config?rev=766245&r1=766244&r2=766245&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.config (original)
+++ ofbiz/trunk/debian/ofbiz-framework.config Sat Apr 18 06:35:45 2009
@@ -73,10 +73,9 @@
 		while :; do
 			[[ $STATE = -1 ]] && exit 10
 			[[ $STATE = ${#ofb_dc_list[*]} ]] && break
-			NEXT=$(($STATE + 1))
 			${ofb_dc_list[$STATE]}
 			if db_go; then
-				STATE=$NEXT
+				STATE=$(($STATE + 1))
 			else
 				STATE=$(($STATE - 1))
 			fi