X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tools%2Fcloud-configs.sh;h=acce8c104e35c80b3c792712a4f83f1f79387fca;hb=ebf7405c738e7be76ed64cd10938b1a9ac331645;hp=98ffcd4fc70b7122145eb555561dc8bd74e62731;hpb=aaaa10a54a1d7ec0a1c4e3a675113ec9656c0e1a;p=icn.git diff --git a/tools/cloud-configs.sh b/tools/cloud-configs.sh index 98ffcd4..acce8c1 100644 --- a/tools/cloud-configs.sh +++ b/tools/cloud-configs.sh @@ -15,20 +15,20 @@ for module in $MODULES_LIST; do filename=$module-$VER.tar.gz if [ ! -e $filename ]; then if [ ! -e $SHARE_FOLDER/$filename ]; then - echo "Cannot install module $module ..." - continue - else + echo "Cannot install module $module ..." + continue + else cp $SHARE_FOLDER/$filename . fi fi tar xvzf $filename - if [ -d $module ]; then + if [ -d $module ]; then echo "Installing module $module ..." - pushd $module + pushd $module bash ./install.sh popd - rm -rf $module + rm -rf $module fi -done +done