projects
/
drupal-init-tools.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9892c3f
)
Use "read -r" to get the verbatim input, suggested by shellcheck
author
Antonio Ospite <ao2@ao2.it>
Mon, 18 Dec 2017 15:02:06 +0000
(16:02 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 18 Dec 2017 15:02:06 +0000
(16:02 +0100)
libexec/bootstrap.sh
patch
|
blob
|
history
libexec/clean.sh
patch
|
blob
|
history
diff --git
a/libexec/bootstrap.sh
b/libexec/bootstrap.sh
index
2381d29
..
1dee4f2
100755
(executable)
--- a/
libexec/bootstrap.sh
+++ b/
libexec/bootstrap.sh
@@
-75,7
+75,7
@@
declare -p WEB_SERVER_GROUP
if [ "x$MYSQL_ROOT_PASSWORD" = "x" ];
then
- read -s -p "MySQL root password: " MYSQL_ROOT_PASSWORD
+ read -
r -
s -p "MySQL root password: " MYSQL_ROOT_PASSWORD
echo
fi
diff --git
a/libexec/clean.sh
b/libexec/clean.sh
index
daa86fb
..
cd33b60
100755
(executable)
--- a/
libexec/clean.sh
+++ b/
libexec/clean.sh
@@
-48,7
+48,7
@@
CONFIRMATION_STRING="YESIAMSURE"
echo "WARNING! This removes any files in the config/ web/ and vendor/ directories."
echo "Are you sure you want to continue?"
echo
-read -p "Type ${CONFIRMATION_STRING} to confirm: " INPUT
+read -
r -
p "Type ${CONFIRMATION_STRING} to confirm: " INPUT
run() {
echo "$@"