Merge "[COMMON] Fix condition equality bashisms"
[oom.git] / kubernetes / robot / demo-k8s.sh
index 5d8fed8..d48070c 100755 (executable)
@@ -17,7 +17,7 @@
 #
 # Execute tags built to support the hands-on demo
 #
-function usage
+usage ()
 {
        echo "Usage: demo-k8s.sh <namespace> <command> [<parameters>] [execscript]"
        echo " "
@@ -63,7 +63,7 @@ function usage
 
 # Check if execscript flag is used and drop it from input arguments
 
-if [[ "${!#}" == "execscript" ]]; then
+if [[ "${!#}" = "execscript" ]]; then
         set -- "${@:1:$#-1}"
         execscript=true
 fi