File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,6 @@ for arg; do
6060 esac
6161done
6262
63- # If branch was specified at run-time, convert its value to the branch variable
64- if [ " $3 " ]; then
65- branch=$3
66- fi
67-
6863if [ ! " $1 " = " --all" ] || [ ! " $1 " = " --hestia" ] || [ ! " $1 " = " --nginx" ] || [ ! " $1 " = " --php" ]; then
6964 echo " (!) Invalid compilation flag specified. Valid flags:"
7065 echo " --all"
@@ -75,6 +70,11 @@ if [ ! "$1" = "--all" ] || [ ! "$1" = "--hestia" ] || [ ! "$1" = "--nginx" ] ||
7570 echo " You may also specify --install to install the packages after compilation."
7671fi
7772
73+ # If branch was specified at run-time, convert its value to the branch variable
74+ if [ " $3 " ]; then
75+ branch=$3
76+ fi
77+
7878# Prompt for Git branch to download and build from if not specified at run-time
7979if [ ! $3 ]; then
8080 echo -n " Please enter the name of the branch to build from (e.g. master): "
You can’t perform that action at this time.
0 commit comments