make mincraft data sync scripts executable from anywhere
This commit is contained in:
@@ -7,6 +7,8 @@ set -xeuo pipefail
|
|||||||
|
|
||||||
LOCAL_MINECRAFT_DATA="${LOCAL_MINECRAFT_DATA:-$HOME/src/anygate/minecraft-data}"
|
LOCAL_MINECRAFT_DATA="${LOCAL_MINECRAFT_DATA:-$HOME/src/anygate/minecraft-data}"
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
rm -rf minecraft-data/
|
rm -rf minecraft-data/
|
||||||
mkdir -p minecraft-data/pc
|
mkdir -p minecraft-data/pc
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ set -xeuo pipefail
|
|||||||
|
|
||||||
# Go get / install does not clone git submodules so we have to do it like this
|
# Go get / install does not clone git submodules so we have to do it like this
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
rm -rf minecraft-data/
|
rm -rf minecraft-data/
|
||||||
git clone --depth 1 git@github.com:PrismarineJS/minecraft-data.git
|
git clone --depth 1 git@github.com:PrismarineJS/minecraft-data.git
|
||||||
mv minecraft-data minecraft-data-untrimmed
|
mv minecraft-data minecraft-data-untrimmed
|
||||||
|
|||||||
Reference in New Issue
Block a user