diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-01-05 18:32:38 -0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 13:33:28 +0200 |
commit | 5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d (patch) | |
tree | adf51a7160586d78d25f725bec0d3a8cb705e529 /scripts | |
parent | f80a540dbf9bf87e15f0f29da7f4019064ee207d (diff) | |
download | upstream-5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d.tar.gz upstream-5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d.tar.bz2 upstream-5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d.zip |
scripts/env: use read -r instead of read
read mangles backslashes.
Found with shellcheck.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/env | 2 |
1 files changed, 1 insertions, 1 deletions
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;; |