diff options
author | 2021-05-26 06:56:47 +0000 | |
---|---|---|
committer | 2021-05-26 06:56:47 +0000 | |
commit | 77b740f2c94facef63eafcde23666c2133d2e5da (patch) | |
tree | a3602f406219192021097a758c2aac6b800f9431 /kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh | |
parent | f4438980a2e002fdfb684ba30870f2349e38a4c3 (diff) | |
parent | 7abd8c33af95f94bdbf21f372b372373c294e9f7 (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-x | kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh | 6 |
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 $@ |