[open-ils-commits] r8700 - trunk/Open-ILS/src/support-scripts

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Feb 8 13:03:50 EST 2008


Author: erickson
Date: 2008-02-08 12:35:04 -0500 (Fri, 08 Feb 2008)
New Revision: 8700

Modified:
   trunk/Open-ILS/src/support-scripts/brick_ctl.sh
Log:
moving variable decl. until after config is loaded

Modified: trunk/Open-ILS/src/support-scripts/brick_ctl.sh
===================================================================
--- trunk/Open-ILS/src/support-scripts/brick_ctl.sh	2008-02-08 15:38:30 UTC (rev 8699)
+++ trunk/Open-ILS/src/support-scripts/brick_ctl.sh	2008-02-08 17:35:04 UTC (rev 8700)
@@ -27,8 +27,6 @@
 [ -f ~/.bashrc ] && . ~/.bashrc
 
 DEFAULT_CONFIG=~/.oils_brick.cfg
-LOCAL_BASE="osrf_ctl.sh -d $OSRF_PID_DIR -c $OSRF_CONFIG";
-DRONE_BASE=". /etc/profile && osrf_ctl.sh -d $OSRF_PID_DIR -c $OSRF_CONFIG";
 
 
 # -------------------------------------------------------------------
@@ -98,6 +96,8 @@
 # make sure an action was specified
 [ -z "$OPT_ACTION" ] && usage;
 
+LOCAL_BASE="osrf_ctl.sh -d $OSRF_PID_DIR -c $OSRF_CONFIG";
+DRONE_BASE=". /etc/profile && osrf_ctl.sh -d $OSRF_PID_DIR -c $OSRF_CONFIG";
 
 # -------------------------------------------------------------------
 # Runs DRONE_ACT on the drones, then LOCAL_ACT on the local machine



More information about the open-ils-commits mailing list