compile.sh - Automatically choose master branch
This commit is contained in:
parent
38a01cec75
commit
acedc7f6d1
11
compile.sh
11
compile.sh
@ -84,6 +84,13 @@ if [[ $MISSING_PROGRAMS != "" ]]; then
|
|||||||
missingDepsExit
|
missingDepsExit
|
||||||
fi
|
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: Branch choice.
|
||||||
echo
|
echo
|
||||||
echo "You can choose between 2 branches:"
|
echo "You can choose between 2 branches:"
|
||||||
@ -113,6 +120,9 @@ else
|
|||||||
error "Unrecognized user input."
|
error "Unrecognized user input."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
### Inactive code end. ###
|
||||||
|
|
||||||
# Echo: Compile mode choice.
|
# Echo: Compile mode choice.
|
||||||
echo
|
echo
|
||||||
echo "Choose compile mode:"
|
echo "Choose compile mode:"
|
||||||
@ -197,3 +207,4 @@ exit 0
|
|||||||
:windows_detected
|
:windows_detected
|
||||||
echo "This script is not available for Windows yet, sorry."
|
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 still download the Windows binaries from: http://cuberite.org"
|
||||||
|
echo "You can also manually compile for Windows. See: https://github.com/cuberite/cuberite"
|
||||||
|
Loading…
Reference in New Issue
Block a user