Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Fix read -s, echo -e and $'...' bashisms
[oom.git]
/
kubernetes
/
robot
/
demo-k8s.sh
diff --git
a/kubernetes/robot/demo-k8s.sh
b/kubernetes/robot/demo-k8s.sh
index
5e4e216
..
0d30557
100755
(executable)
--- a/
kubernetes/robot/demo-k8s.sh
+++ b/
kubernetes/robot/demo-k8s.sh
@@
-93,7
+93,10
@@
do
case $key in
init_robot)
TAG="UpdateWebPage"
case $key in
init_robot)
TAG="UpdateWebPage"
- read -s -p "WEB Site Password for user 'test': " WEB_PASSWORD
+ echo "WEB Site Password for user 'test': "
+ stty -echo
+ read WEB_PASSWORD
+ stty echo
if [ "$WEB_PASSWORD" = "" ]; then
echo ""
echo "WEB Password is required for user 'test'"
if [ "$WEB_PASSWORD" = "" ]; then
echo ""
echo "WEB Password is required for user 'test'"