소스 검색

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.
Alex Smith 5 년 전
부모
커밋
30ae8d71f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bootstrap.sh

+ 1 - 1
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