From ca6e8ccb6e7a516cbceb11f386568c28904ca0cf Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 8 Feb 2008 17:35:04 +0000 Subject: [PATCH] moving variable decl. until after config is loaded git-svn-id: svn://svn.open-ils.org/ILS/trunk@8700 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/brick_ctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0