#Modified from https://github.com/cachengo/seba_charts/blob/master/scripts/installSEBA.sh
-basepath=$(cd `dirname $0`; pwd)
+basepath=$(cd "$(dirname "$0")"; pwd)
CORD_REPO=${CORD_REPO:-https://charts.opencord.org}
CORD_PLATFORM_VERSION=${CORD_PLATFORM_VERSION:-6.1.0}
SEBA_VERSION=${SEBA_VERSION:-1.0.0}
if [ "$(uname -m)" == "aarch64" ]; then
if [ ! -d ${CORD_CHART}/cord-platform ]; then
#git clone https://github.com/iecedge/seba_charts ${CORD_CHART}
- cd ${basepath}/../src_repo && git submodule update seba_charts
+ cd ${basepath}/../src_repo && git submodule update --init seba_charts
fi
else
helm repo add cord "${CORD_REPO}"