From 30ae8d71f057ac3a4cb871d26991b407cbe4ad57 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Sun, 11 Aug 2019 10:13:04 +0100 Subject: [PATCH] Adjust install prompt Now reads: "Install to $prefix? [y/N]" to indicate that the default choice if pressing enter without any extra input will be no. Suggested by #169. --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index bd107c9..c85ba26 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -33,7 +33,7 @@ ninja # Verify user wants to install set +x if [ "$TRAVIS" != "true" ]; then - read -p "Install to $prefix? [Yy] " -r + read -p "Install to $prefix? [y/N] " -r [[ $REPLY =~ ^[Yy]$ ]] fi set -x