From a4ca6899745f025ae5e63444f74459dad0772bef Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sun, 31 Jul 2016 12:02:42 +0100 Subject: Add {} around easyinstall.sh (#3286) This makes piping the download to sh safer. --- easyinstall.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'easyinstall.sh') diff --git a/easyinstall.sh b/easyinstall.sh index 627a7bcdc..13527569c 100755 --- a/easyinstall.sh +++ b/easyinstall.sh @@ -1,5 +1,9 @@ #!/bin/sh +{ + +set -e + PLATFORM=$(uname -m) echo "Identifying platform: $PLATFORM" @@ -15,3 +19,5 @@ curl -s $DOWNLOADURL | tar -xzf - echo "Done." echo "Cuberite is now installed, run using 'cd Server; ./Cuberite'." + +} -- cgit v1.2.3