From: erickson Date: Fri, 8 Feb 2008 17:35:04 +0000 (+0000) Subject: moving variable decl. until after config is loaded X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ca6e8ccb6e7a516cbceb11f386568c28904ca0cf;p=Evergreen.git moving variable decl. until after config is loaded git-svn-id: svn://svn.open-ils.org/ILS/trunk@8700 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/support-scripts/brick_ctl.sh b/Open-ILS/src/support-scripts/brick_ctl.sh index 35e01c020c..f42c7a307f 100755 --- a/Open-ILS/src/support-scripts/brick_ctl.sh +++ b/Open-ILS/src/support-scripts/brick_ctl.sh @@ -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 @@ fi; # 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