aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-05-26 06:56:47 +0000
committerGerrit Code Review <gerrit@onap.org>2021-05-26 06:56:47 +0000
commit77b740f2c94facef63eafcde23666c2133d2e5da (patch)
treea3602f406219192021097a758c2aac6b800f9431 /kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh
parentf4438980a2e002fdfb684ba30870f2349e38a4c3 (diff)
parent7abd8c33af95f94bdbf21f372b372373c294e9f7 (diff)
Merge "[COMMON] Fix condition bracket bashisms - step 2"
Diffstat (limited to 'kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh')
-rwxr-xr-xkubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh6
1 files changed, 4 insertions, 2 deletions
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 1a75bd7a85..67bbfd6c6f 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
@@ -86,9 +86,11 @@ deploy() {
target_machine_notice_info
}
-if [[ $# -eq 1 ]] && [[ $1 = "-h" || $1 = "--help" ]]; then
+if [ $# -eq 1 ] && [ "$1" = "-h" ]; then
usage
-elif [[ $# -eq 1 ]] && [[ $1 = "--info" ]]; then
+elif [ $# -eq 1 ] && [ "$1" = "--help" ]; then
+ usage
+elif [ $# -eq 1 ] && [ "$1" = "--info" ]; then
target_machine_notice_info
else
deploy $@