Compare commits

..

No commits in common. "c4881f49ff1537ff749da05a9409fd92b30b2d73" and "79bbdb5f948b16e6399dda96235ec3e149b6e2cb" have entirely different histories.

2 changed files with 39 additions and 42 deletions

File diff suppressed because one or more lines are too long

View File

@ -19,8 +19,7 @@ function echo_tty {
function yesno { function yesno {
unset DISCARD_ME unset DISCARD_ME
while [ -z "$DISCARD_ME" ]; do while [ -z "$DISCARD_ME" ]; do
echo_tty -n "[y/n] " read -p "[y/n] " -n1 DISCARD_ME < $TTY_OR_CONSOLE > $TTY_OR_CONSOLE
read -n1 DISCARD_ME < $TTY_OR_CONSOLE > $TTY_OR_CONSOLE
case "$DISCARD_ME" in case "$DISCARD_ME" in
y) y)
# add a line break # add a line break