1
0

Add {} around easyinstall.sh (#3286)

This makes piping the download to sh safer.
This commit is contained in:
Alexander Harkness 2016-07-31 12:02:42 +01:00 committed by GitHub
parent 320d1c6151
commit a4ca689974

View File

@ -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'."
}