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
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
# Pre-install setup (install version choice, brew install, decompress files, cd into directory, etc.)
4
4
functionsetup {
5
5
# Install All Dependencies
6
-
read -p 'Which PHP version would you like to install?[latest-7.1/latest-7.2/latest-7.3/default: latest-7.4/latest-8.0/latest-master] ' PHPINSTALLVERSION
6
+
read -p 'Which PHP version would you like to install?[latest-7.1/latest-7.2/latest-7.3/default: latest-7.4/latest-8.0/latest-master/q (quit)] ' PHPINSTALLVERSION
elif [ "$INSTALLCHOICE"= n ] || [ "$INSTALLCHOICE"= N ];then
34
34
echo cancelling installation
35
-
exit 130
35
+
setup
36
36
else
37
37
echo invalid argument, exiting...
38
-
exit 1
38
+
setup
39
39
fi
40
40
elif [ "$PHPINSTALLVERSION"= latest-master ];then
41
41
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/default: n/N] ' INSTALLCHOICE
@@ -44,11 +44,16 @@ function setup {
44
44
git checkout php-src
45
45
elif [ "$INSTALLCHOICE"= n ] || [ "$INSTALLCHOICE"= N ];then
0 commit comments