|
@@ -60,11 +60,6 @@ for arg; do
|
|
|
esac
|
|
esac
|
|
|
done
|
|
done
|
|
|
|
|
|
|
|
-# If branch was specified at run-time, convert its value to the branch variable
|
|
|
|
|
-if [ "$3" ]; then
|
|
|
|
|
- branch=$3
|
|
|
|
|
-fi
|
|
|
|
|
-
|
|
|
|
|
if [ ! "$1" = "--all" ] || [ ! "$1" = "--hestia" ] || [ ! "$1" = "--nginx" ] || [ ! "$1" = "--php" ]; then
|
|
if [ ! "$1" = "--all" ] || [ ! "$1" = "--hestia" ] || [ ! "$1" = "--nginx" ] || [ ! "$1" = "--php" ]; then
|
|
|
echo "(!) Invalid compilation flag specified. Valid flags:"
|
|
echo "(!) Invalid compilation flag specified. Valid flags:"
|
|
|
echo "--all"
|
|
echo "--all"
|
|
@@ -75,6 +70,11 @@ if [ ! "$1" = "--all" ] || [ ! "$1" = "--hestia" ] || [ ! "$1" = "--nginx" ] ||
|
|
|
echo "You may also specify --install to install the packages after compilation."
|
|
echo "You may also specify --install to install the packages after compilation."
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+# If branch was specified at run-time, convert its value to the branch variable
|
|
|
|
|
+if [ "$3" ]; then
|
|
|
|
|
+ branch=$3
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
# Prompt for Git branch to download and build from if not specified at run-time
|
|
# Prompt for Git branch to download and build from if not specified at run-time
|
|
|
if [ ! $3 ]; then
|
|
if [ ! $3 ]; then
|
|
|
echo -n "Please enter the name of the branch to build from (e.g. master): "
|
|
echo -n "Please enter the name of the branch to build from (e.g. master): "
|