Code refactoring for bpa operator
[icn.git] / deploy / kud / kud_launch.sh
index bd17154..e63419a 100755 (executable)
@@ -1,6 +1,10 @@
 #!/bin/bash
+LIBDIR="$(dirname "$(dirname "$PWD")")"
 
-if [ ! -d $PWD/multicloud-k8s ]; then
-    git clone https://github.com/onap/multicloud-k8s.git
-fi
+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