scripts/env: use read -r instead of read
[openwrt/staging/rmilecki.git] / scripts / env
index 848850a778883a36278ee67aba3939b5d122dbc5..c81fbf8ddc294e1950b9791c88e8f6bb5b01cb55 100755 (executable)
@@ -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;;