1
0

compile.sh - Automatically choose master branch

This commit is contained in:
Safwat Halaby 2015-11-21 15:12:11 +02:00
parent 38a01cec75
commit acedc7f6d1

View File

@ -84,6 +84,13 @@ if [[ $MISSING_PROGRAMS != "" ]]; then
missingDepsExit
fi
# Bypass Branch choice and choose master. Because it's the only branch right now.
BRANCH="master"
### Inactive code start. ###
function inactiveCode
{
# Echo: Branch choice.
echo
echo "You can choose between 2 branches:"
@ -113,6 +120,9 @@ else
error "Unrecognized user input."
fi
}
### Inactive code end. ###
# Echo: Compile mode choice.
echo
echo "Choose compile mode:"
@ -197,3 +207,4 @@ exit 0
:windows_detected
echo "This script is not available for Windows yet, sorry."
echo "You can still download the Windows binaries from: http://cuberite.org"
echo "You can also manually compile for Windows. See: https://github.com/cuberite/cuberite"