From 5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 5 Jan 2020 18:32:38 -0800 Subject: [PATCH] scripts/env: use read -r instead of read read mangles backslashes. Found with shellcheck. Signed-off-by: Rosen Penev --- scripts/env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/env b/scripts/env index 848850a778..c81fbf8ddc 100755 --- a/scripts/env +++ b/scripts/env @@ -42,7 +42,7 @@ ask_bool() { local VAL echo -n "$* ($defstr): " - read VAL + read -r VAL case "$VAL" in y*|Y*) val=0;; n*|N*) val=1;;