From: Rosen Penev Date: Mon, 6 Jan 2020 02:32:38 +0000 (-0800) Subject: scripts/env: use read -r instead of read X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d;p=openwrt%2Fstaging%2Flinusw.git scripts/env: use read -r instead of read read mangles backslashes. Found with shellcheck. Signed-off-by: Rosen Penev --- 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;;