Merge "[DCAEGEN2] Deploy DCAEGEN2-Slice Analysis Microservices to Helm"
[oom.git] / kubernetes / common / cassandra / resources / restore.sh
index b56c0fa..7f271d2 100644 (file)
@@ -41,7 +41,7 @@ then
        print_usage
 fi
 
-while [[ $# -gt 0 ]]
+while [ $# -gt 0 ]
 do
 key="$1"
 shift
@@ -75,7 +75,7 @@ esac
 done
 
 # Validate inputs
-if [ "$base_db_dir" == "" ] || [ "$ss_dir" == "" ] || [ "$keyspace_name" == "" ]
+if [ "$base_db_dir" = "" ] || [ "$ss_dir" = "" ] || [ "$keyspace_name" = "" ]
 then
        echo ""
        echo ">>>>>>>>>>Not all inputs provided, please check usage >>>>>>>>>>"