summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorguillaume.lambert <guillaume.lambert@orange.com>2021-08-28 09:40:08 +0200
committerGuillaume Lambert <guillaume.lambert@orange.com>2021-08-28 07:46:01 +0000
commitbd1b9ab1891c275cb3b499956ceb0b498a634475 (patch)
treeaa6fb46f1cae9bccad3803577f8d69a19d2513e8 /kubernetes
parent6259f50ad9a1f628a3e43225fca8e5580e87ed91 (diff)
[COMMON] Fix non-breaking spaces in shell scripts
Non-breaking spaces (0xa0) are interpreted differently than spaces, what makes shell scripts debugging very tricky. Issue-ID: OOM-264 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ica60bdc1274ae6f949c1df1cbef0836abd249654
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh2
-rwxr-xr-xkubernetes/helm/plugins/deploy/deploy.sh2
2 files changed, 2 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 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