Add {} around easyinstall.sh (#3286)
This makes piping the download to sh safer.
This commit is contained in:
parent
320d1c6151
commit
a4ca689974
@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
PLATFORM=$(uname -m)
|
PLATFORM=$(uname -m)
|
||||||
|
|
||||||
echo "Identifying platform: $PLATFORM"
|
echo "Identifying platform: $PLATFORM"
|
||||||
@ -15,3 +19,5 @@ curl -s $DOWNLOADURL | tar -xzf -
|
|||||||
echo "Done."
|
echo "Done."
|
||||||
|
|
||||||
echo "Cuberite is now installed, run using 'cd Server; ./Cuberite'."
|
echo "Cuberite is now installed, run using 'cd Server; ./Cuberite'."
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user