Merge "Add header guard to functions/functions-common"
This commit is contained in:
commit
4d223251e8
@ -10,6 +10,10 @@
|
|||||||
# - ``GLANCE_HOSTPORT``
|
# - ``GLANCE_HOSTPORT``
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# ensure we don't re-source this in the same environment
|
||||||
|
[[ -z "$_DEVSTACK_FUNCTIONS" ]] || return 0
|
||||||
|
declare -r _DEVSTACK_FUNCTIONS=1
|
||||||
|
|
||||||
# Include the common functions
|
# Include the common functions
|
||||||
FUNC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
|
FUNC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
|
||||||
source ${FUNC_DIR}/functions-common
|
source ${FUNC_DIR}/functions-common
|
||||||
|
@ -36,6 +36,10 @@
|
|||||||
XTRACE=$(set +o | grep xtrace)
|
XTRACE=$(set +o | grep xtrace)
|
||||||
set +o xtrace
|
set +o xtrace
|
||||||
|
|
||||||
|
# ensure we don't re-source this in the same environment
|
||||||
|
[[ -z "$_DEVSTACK_FUNCTIONS_COMMON" ]] || return 0
|
||||||
|
declare -r _DEVSTACK_FUNCTIONS_COMMON=1
|
||||||
|
|
||||||
# Global Config Variables
|
# Global Config Variables
|
||||||
declare -A GITREPO
|
declare -A GITREPO
|
||||||
declare -A GITBRANCH
|
declare -A GITBRANCH
|
||||||
|
Loading…
Reference in New Issue
Block a user