From: Krzysztof Opasiak Date: Tue, 31 Aug 2021 12:46:11 +0000 (+0000) Subject: Merge "[COMMON] Fix non-breaking spaces in shell scripts" X-Git-Tag: 9.0.0~159 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a816817257ca0445b80bb0f3ebd74ea6f60716ea;hp=3c039a04e5836386e43b09380f23f526dd6e03f4;p=oom.git Merge "[COMMON] Fix non-breaking spaces in shell scripts" --- diff --git a/kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh b/kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh index 163877deca..460c046632 100755 --- a/kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh +++ b/kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh @@ -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 diff --git a/kubernetes/helm/plugins/deploy/deploy.sh b/kubernetes/helm/plugins/deploy/deploy.sh index 4fec3984db..d863a152a5 100755 --- a/kubernetes/helm/plugins/deploy/deploy.sh +++ b/kubernetes/helm/plugins/deploy/deploy.sh @@ -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