summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingye Wang (Arthur2e5) <arthur200126@gmail.com>2016-03-16 02:53:41 +0100
committerMingye Wang (Arthur2e5) <arthur200126@gmail.com>2016-03-16 03:01:29 +0100
commit8161d6f7f7dbf8585ca3599ebb24d6973899c21f (patch)
tree80461cc8933b282e5a4f95be49360b1ce5ee22bd
parentSanity check (quoting, etc.) for compile.sh (diff)
downloadcuberite-8161d6f7f7dbf8585ca3599ebb24d6973899c21f.tar
cuberite-8161d6f7f7dbf8585ca3599ebb24d6973899c21f.tar.gz
cuberite-8161d6f7f7dbf8585ca3599ebb24d6973899c21f.tar.bz2
cuberite-8161d6f7f7dbf8585ca3599ebb24d6973899c21f.tar.lz
cuberite-8161d6f7f7dbf8585ca3599ebb24d6973899c21f.tar.xz
cuberite-8161d6f7f7dbf8585ca3599ebb24d6973899c21f.tar.zst
cuberite-8161d6f7f7dbf8585ca3599ebb24d6973899c21f.zip
-rwxr-xr-xcompile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index 43b5fa337..166edea54 100755
--- a/compile.sh
+++ b/compile.sh
@@ -196,7 +196,7 @@ echo " --- Downloading Cuberite's source code from the $BRANCH branch..."
if [ ! -d cuberite ]; then
# Git: Clone.
echo " --- Looks like your first run, cloning the whole code..."
- git clone https://github.com/cuberite/cuberite.git
+ git clone --depth 1 https://github.com/cuberite/cuberite.git -b "$BRANCH"
cd cuberite
else
# Git: Fetch.