You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 5, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: macos/install.sh
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
functioncompilePHP {
4
4
# Install All Dependencies
5
-
read -p'Which PHP version would you like to install?[latest-7.1/latest-7.2/latest-7.3/latest-7.4/latest-8.0/latest-master] ' PHPINSTALLVERSION
5
+
read -pr'Which PHP version would you like to install?[latest-7.1/latest-7.2/latest-7.3/latest-7.4/latest-8.0/latest-master] ' PHPINSTALLVERSION
6
6
7
7
if [ "$PHPINSTALLVERSION"= latest-7.1 ];then
8
8
cd ../releases/ ||exit
@@ -21,7 +21,7 @@ function compilePHP {
21
21
unzip php-src-php-7.4.10RC1.zip -d latest-7.4
22
22
cd latest-7.4 ||exit
23
23
elif [ "$PHPINSTALLVERSION"= latest-8.0 ];then
24
-
read -p'This a BETA PHP version. This software has been tested, but bugs and errors are bound to appear in this early stage. This should not be used in a production environment. Are you sure you want to install?[y/Y/n/N] ' INSTALLCHOICE
24
+
read -pr'This a BETA PHP version. This software has been tested, but bugs and errors are bound to appear in this early stage. This should not be used in a production environment. Are you sure you want to install?[y/Y/n/N] ' INSTALLCHOICE
25
25
if [ "$INSTALLCHOICE"= y ] || [ "$INSTALLCHOICE"= Y ];then
26
26
cd ../releases/ ||exit
27
27
unzip php-src-php-8.0.0beta2.zip -d latest-8.0
@@ -34,7 +34,7 @@ function compilePHP {
34
34
exit 1
35
35
fi
36
36
elif [ "$PHPINSTALLVERSION"= latest-master ];then
37
-
read -p'CAREFUL: This is a pre-release version and is in heavy development. Install this only if you want the latest bleeding-edge features. These may not have been tested thoroughly and should not be used in a production environment. Are you sure you want to install?[y/Y/n/N] ' INSTALLCHOICE
37
+
read -pr'CAREFUL: This is a pre-release version and is in heavy development. Install this only if you want the latest bleeding-edge features. These may not have been tested thoroughly and should not be used in a production environment. Are you sure you want to install?[y/Y/n/N] ' INSTALLCHOICE
38
38
if [ "$INSTALLCHOICE"= y ] || [ "$INSTALLCHOICE"= Y ];then
39
39
git checkout php-src
40
40
elif [ "$INSTALLCHOICE"= n ] || [ "$INSTALLCHOICE"= N ];then
read -p'The tests have been completed and you may or may not have had failures on some of them. This can sometimes be ignored with the latest builds, or may need extra attention. Would you like to continue with installation?[y/Y/n/N] ' ERRORRESPONSE
111
+
read -pr'The tests have been completed and you may or may not have had failures on some of them. This can sometimes be ignored with the latest builds, or may need extra attention. Would you like to continue with installation?[y/Y/n/N] ' ERRORRESPONSE
112
112
if [ "$ERRORRESPONSE"= y ] || [ "$ERRORRESPONSE"= Y ];then
0 commit comments