summaryrefslogtreecommitdiffstats
path: root/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xcompile.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh
index e5a164603..1bd8a4870 100755
--- a/compile.sh
+++ b/compile.sh
@@ -1,5 +1,6 @@
#!/bin/sh
#|| goto :windows_detected
+{ # put the whole thing in a block so as not to behave weirdly if interrupted
set -e
# Do we already have a repo?
@@ -206,3 +207,4 @@ exit 0
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"
+}