1
0

Merge pull request #2671 from SafwatHalaby/compile

compile.sh - Automatically choose master branch
This commit is contained in:
Mattes D 2015-11-21 14:52:01 +01:00
commit 19d38291fb

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"