Merge "[COMMON] Fix non-breaking spaces in shell scripts"
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 31 Aug 2021 12:46:11 +0000 (12:46 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 31 Aug 2021 12:46:11 +0000 (12:46 +0000)
kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh
kubernetes/helm/plugins/deploy/deploy.sh

index 163877d..460c046 100755 (executable)
@@ -89,7 +89,7 @@ deploy() {
 
 if [ $# -eq 1 ] && [ "$1" = "-h" ]; then
        usage
-elif [ $# -eq 1 ] && [ "$1" = "--help" ]; then
+elif [ $# -eq 1 ] && [ "$1" = "--help" ]; then
        usage
 elif [ $# -eq 1 ] && [ "$1" = "--info" ]; then
        target_machine_notice_info
index 4fec398..d863a15 100755 (executable)
@@ -89,7 +89,7 @@ resolve_deploy_flags() {
 
 deploy() {
   # validate params
-  if [ -z "$1" ] || [ -z "$2" ]; then
+  if [ -z "$1" ] || [ -z "$2" ]; then
     usage
     exit 0
   fi