Merge "[COMMON] Fix ${!name} bashisms"
[oom.git] / kubernetes / contrib / metallb-loadbalancer-inst / install-metallb-on-cluster.sh
index 44fe79a..bf2bc12 100755 (executable)
@@ -76,9 +76,11 @@ manual_configuration() {
        generate_config_map $@
 }
 
-if [[ $# -eq 1 ]] && [[ $1 = "-h" || $1 = "--help" ]]; then
+if [ $# -eq 1 ] && [ "$1" = "-h" ]; then
        usage
-elif [[ $# -eq 0 ]]; then
+if [ $# -eq 1 ] && [ "$1" = "--help" ]; then
+       usage
+elif [ $# -eq 0 ]; then
        automatic_configuration
 else
        manual_configuration $@