Author: doogie
Date: Sat Apr 18 06:36:32 2009
New Revision: 766247

URL: http://svn.apache.org/viewvc?rev=766247&view=rev
Log:
Move the setting of cmd to right before the case.

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=766247&r1=766246&r2=766247&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.config (original)
+++ ofbiz/trunk/debian/ofbiz-framework.config Sat Apr 18 06:36:32 2009
@@ -51,10 +51,6 @@
 set_if ofbiz/admin-user "$ofbiz_admin_user" || true
 set_if ofbiz/admin-port "$ofbiz_admin_port" || true
 
-cmd="$1"
-shift
-
-
 ofb_dc_admin_user() {
        db_input low ofbiz/admin-user || true
 }
@@ -67,6 +63,9 @@
        ofb_dc_admin_port
 )
 
+cmd="$1"
+shift
+
 case "$cmd" in
        (configure|reconfigure)
                STATE=0


Reply via email to