From acedc7f6d1d0eabf972e770767e8b2a9108825e6 Mon Sep 17 00:00:00 2001 From: Safwat Halaby Date: Sat, 21 Nov 2015 15:12:11 +0200 Subject: [PATCH] compile.sh - Automatically choose master branch --- compile.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/compile.sh b/compile.sh index 19d49b6b2..185a39996 100755 --- a/compile.sh +++ b/compile.sh @@ -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"