[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33134] [PATCH 1/5] guix-install.sh: Update welcome.
From: |
Danny Milosavljevic |
Subject: |
[bug#33134] [PATCH 1/5] guix-install.sh: Update welcome. |
Date: |
Tue, 6 Nov 2018 12:32:32 +0100 |
On Fri, 2 Nov 2018 21:10:34 -0400
rsiddharth <address@hidden> wrote:
> * etc/guix-install.sh (welcome): Read exactly one character from input.
> ---
> etc/guix-install.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/etc/guix-install.sh b/etc/guix-install.sh
> index ca6874ba0..cf839c20e 100755
> --- a/etc/guix-install.sh
> +++ b/etc/guix-install.sh
> @@ -398,7 +398,7 @@ This script installs GNU Guix on your system
> https://www.gnu.org/software/guix/
> EOF
> echo -n "Press return to continue..."
> - read -r ANSWER
> + read -N 1 -r ANSWER
While it's nice for the interactive user, doesn't this break
yes | ./guix-install.sh
because now it doesn't wait for the newline?
pgpf_nigK9VKi.pgp
Description: OpenPGP digital signature