Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[COMMON] Fix condition equality bashisms"
[oom.git]
/
kubernetes
/
robot
/
demo-k8s.sh
diff --git
a/kubernetes/robot/demo-k8s.sh
b/kubernetes/robot/demo-k8s.sh
index
5d8fed8
..
d48070c
100755
(executable)
--- a/
kubernetes/robot/demo-k8s.sh
+++ b/
kubernetes/robot/demo-k8s.sh
@@
-17,7
+17,7
@@
#
# Execute tags built to support the hands-on demo
#
#
# Execute tags built to support the hands-on demo
#
-function usage
+usage ()
{
echo "Usage: demo-k8s.sh <namespace> <command> [<parameters>] [execscript]"
echo " "
{
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
# Check if execscript flag is used and drop it from input arguments
-if [[ "${!#}" =
=
"execscript" ]]; then
+if [[ "${!#}" = "execscript" ]]; then
set -- "${@:1:$#-1}"
execscript=true
fi
set -- "${@:1:$#-1}"
execscript=true
fi