We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d103f47 + 4ffb454 commit 4d22325Copy full SHA for 4d22325
2 files changed
functions
@@ -10,6 +10,10 @@
10
# - ``GLANCE_HOSTPORT``
11
#
12
13
+# ensure we don't re-source this in the same environment
14
+[[ -z "$_DEVSTACK_FUNCTIONS" ]] || return 0
15
+declare -r _DEVSTACK_FUNCTIONS=1
16
+
17
# Include the common functions
18
FUNC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
19
source ${FUNC_DIR}/functions-common
functions-common
@@ -36,6 +36,10 @@
36
XTRACE=$(set +o | grep xtrace)
37
set +o xtrace
38
39
40
+[[ -z "$_DEVSTACK_FUNCTIONS_COMMON" ]] || return 0
41
+declare -r _DEVSTACK_FUNCTIONS_COMMON=1
42
43
# Global Config Variables
44
declare -A GITREPO
45
declare -A GITBRANCH
0 commit comments