summaryrefslogtreecommitdiffstats
path: root/ci/util.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-05-26 14:34:31 -0400
committerDan Radez <dradez@redhat.com>2016-05-27 23:10:36 -0400
commit1695a72d5680fae3cf35d6a6dbd64de5dd08daf3 (patch)
treeb1e9b7d8f92efe359be4c3952c524d8e04fb47cd /ci/util.sh
parent7eb710c246f88a43908d5bbebe33e693d82146d5 (diff)
Updates to CONFIG, RESOURCES and LIB
- removing the -r and -c parameters - relying on ENV vars for non-system locations - abstracting the apex-python-utils to a var Change-Id: I7ff1ca8b741c890647aee029c57e8342f0b5cb07 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'ci/util.sh')
-rwxr-xr-xci/util.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/util.sh b/ci/util.sh
index 67748c0..b262c20 100755
--- a/ci/util.sh
+++ b/ci/util.sh
@@ -3,9 +3,11 @@
# @author Tim Rozet (trozet@redhat.com)
CONFIG=${CONFIG:-'/var/opt/opnfv'}
+RESOURCES=${RESOURCES:-"$CONFIG/images"}
+LIB=${LIB:-"$CONFIG/lib"}
VALID_CMDS="undercloud debug-stack -h --help"
-source $CONFIG/lib/utility-functions.sh
+source $LIB/utility-functions.sh
resolve_cmd() {
local given=$1