Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Capture creation of BMH resources into Helm chart
[icn.git]
/
deploy
/
kud
/
kud_launch.sh
diff --git
a/deploy/kud/kud_launch.sh
b/deploy/kud/kud_launch.sh
index
d7be23c
..
53d7154
100755
(executable)
--- a/
deploy/kud/kud_launch.sh
+++ b/
deploy/kud/kud_launch.sh
@@
-1,6
+1,12
@@
-#!/bin/bash
+#!/usr/bin/env bash
+set -eu -o pipefail
-if [ ! -d $PWD/multicloud-k8s ]; then
+LIBDIR="$(dirname "$(dirname "$PWD")")"
+
+source $LIBDIR/env/lib/common.sh
+
+if [ ! -d $DOWNLOAD_PATH/multicloud-k8s ]; then
+ pushd $DOWNLOAD_PATH
git clone https://github.com/onap/multicloud-k8s.git
git clone https://github.com/onap/multicloud-k8s.git
+ popd
fi
fi
-