Fix to use . to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at https://docs.openstack.org/contributor-guide/ for details. Change-Id: Id306e25c313f8b44b28e55aed1fc602199af7828
This commit is contained in:
parent
a8beaeb7e8
commit
e4debf9512
|
@ -4,17 +4,17 @@
|
|||
|
||||
set -o errexit
|
||||
|
||||
source $GRENADE_DIR/grenaderc
|
||||
source $GRENADE_DIR/functions
|
||||
. $GRENADE_DIR/grenaderc
|
||||
. $GRENADE_DIR/functions
|
||||
|
||||
source $BASE_DEVSTACK_DIR/functions
|
||||
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
|
||||
source $BASE_DEVSTACK_DIR/lib/tls
|
||||
source $BASE_DEVSTACK_DIR/lib/apache
|
||||
. $BASE_DEVSTACK_DIR/functions
|
||||
. $BASE_DEVSTACK_DIR/stackrc # needed for status directory
|
||||
. $BASE_DEVSTACK_DIR/lib/tls
|
||||
. $BASE_DEVSTACK_DIR/lib/apache
|
||||
|
||||
# Locate the panko plugin and get its functions
|
||||
PANKO_DEVSTACK_DIR=$(dirname $(dirname $0))
|
||||
source $PANKO_DEVSTACK_DIR/plugin.sh
|
||||
. $PANKO_DEVSTACK_DIR/plugin.sh
|
||||
|
||||
set -o xtrace
|
||||
|
||||
|
|
|
@ -24,10 +24,10 @@ trap cleanup SIGHUP SIGINT SIGTERM
|
|||
RUN_DIR=$(cd $(dirname "$0") && pwd)
|
||||
|
||||
# Source params
|
||||
source $GRENADE_DIR/grenaderc
|
||||
. $GRENADE_DIR/grenaderc
|
||||
|
||||
# Import common functions
|
||||
source $GRENADE_DIR/functions
|
||||
. $GRENADE_DIR/functions
|
||||
|
||||
# This script exits on an error so that errors don't compound and you see
|
||||
# only the first error that occurred.
|
||||
|
@ -47,19 +47,19 @@ fi
|
|||
PANKO_DEVSTACK_DIR=$(dirname $(dirname $0))
|
||||
|
||||
# Get functions from current DevStack
|
||||
source $TARGET_DEVSTACK_DIR/functions
|
||||
source $TARGET_DEVSTACK_DIR/stackrc
|
||||
source $TARGET_DEVSTACK_DIR/lib/apache
|
||||
. $TARGET_DEVSTACK_DIR/functions
|
||||
. $TARGET_DEVSTACK_DIR/stackrc
|
||||
. $TARGET_DEVSTACK_DIR/lib/apache
|
||||
|
||||
# Get panko functions from devstack plugin
|
||||
source $PANKO_DEVSTACK_DIR/settings
|
||||
. $PANKO_DEVSTACK_DIR/settings
|
||||
|
||||
# Print the commands being run so that we can see the command that triggers
|
||||
# an error.
|
||||
set -o xtrace
|
||||
|
||||
# Install the target panko
|
||||
source $PANKO_DEVSTACK_DIR/plugin.sh stack install
|
||||
. $PANKO_DEVSTACK_DIR/plugin.sh stack install
|
||||
|
||||
# calls upgrade-panko for specific release
|
||||
upgrade_project panko $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH
|
||||
|
|
|
@ -18,7 +18,7 @@ Usage:
|
|||
|
||||
Generate testing data for e.g. for default time span
|
||||
|
||||
source .tox/py27/bin/activate
|
||||
. .tox/py27/bin/activate
|
||||
./tools/make_test_event_data.py --event_types 3
|
||||
"""
|
||||
import argparse
|
||||
|
|
Loading…
Reference in New Issue