Use "read -r" to get the verbatim input, suggested by shellcheck
[drupal-init-tools.git] / libexec / clean.sh
index daa86fb..cd33b60 100755 (executable)
@@ -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 "$@"