Set $BASE before $GATE_SCRIPT_DIR.

* devstack-vm-gate-wrap.sh: $BASE was used to construct $GATE_SCRIPT_DIR
but $BASE was set after $GATE_SCRIPT_DIR. Move the order of assignments
to fix this.

Change-Id: Ic6ee8f7f0a1db0c191e37fd3eec1d970752c8db0
This commit is contained in:
Clark Boylan
2013-05-28 11:58:36 -07:00
parent dea2e83c5e
commit 0cc7bc20cd

View File

@@ -70,6 +70,8 @@ export DEVSTACK_GATE_VIRT_DRIVER=${DEVSTACK_GATE_VIRT_DRIVER:-libvirt}
# is the project being gated.
export DEVSTACK_GATE_TEMPEST_FULL=${DEVSTACK_GATE_TEMPEST_FULL:-0}
export BASE=/opt/stack
# Set GATE_SCRIPT_DIR to point to devstack-gate in the workspace so that
# we are testing the proposed change from this point forward.
GATE_SCRIPT_DIR=$BASE/new/devstack-gate
@@ -83,8 +85,6 @@ if [ -z "$SKIP_DEVSTACK_GATE_PROJECT" ]; then
PROJECTS="openstack-infra/devstack-gate $PROJECTS"
fi
export BASE=/opt/stack
# Most of the work of this script is done in functions so that we may
# easily redirect their stdout / stderr to log files.