Add dependency relationships to EMCO
[icn.git] / deploy / kud / kud_launch.sh
index bd17154..53d7154 100755 (executable)
@@ -1,6 +1,12 @@
-#!/bin/bash
+#!/usr/bin/env bash
+set -eu -o pipefail
 
-if [ ! -d $PWD/multicloud-k8s ]; then
-    git clone https://github.com/onap/multicloud-k8s.git
-fi
+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
+       popd
+fi