summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-01-02 16:59:07 +0100
committerGitHub <noreply@github.com>2020-01-02 16:59:07 +0100
commitdd665f092f0c8b752904252b660177b5d5b77372 (patch)
tree7a2ae44098d8ab0636d8a550be3f8908692d9596 /android
parentFix android builds (#4432) (diff)
downloadcuberite-dd665f092f0c8b752904252b660177b5d5b77372.tar
cuberite-dd665f092f0c8b752904252b660177b5d5b77372.tar.gz
cuberite-dd665f092f0c8b752904252b660177b5d5b77372.tar.bz2
cuberite-dd665f092f0c8b752904252b660177b5d5b77372.tar.lz
cuberite-dd665f092f0c8b752904252b660177b5d5b77372.tar.xz
cuberite-dd665f092f0c8b752904252b660177b5d5b77372.tar.zst
cuberite-dd665f092f0c8b752904252b660177b5d5b77372.zip
Diffstat (limited to 'android')
-rwxr-xr-xandroid/compile.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/android/compile.sh b/android/compile.sh
index 8be0e147c..72d5df181 100755
--- a/android/compile.sh
+++ b/android/compile.sh
@@ -64,8 +64,6 @@ case "$1" in
echo "Packing server.zip ..."
rm -rf Server
mkdir -p Server
- cd $BASEDIR/../Server
- zip -r $BASEDIR/Server/server.zip *
for arch in armeabi-v7a arm64-v8a x86 x86_64; do
echo "Doing ... $arch ..." && \
@@ -76,6 +74,10 @@ case "$1" in
zip $BASEDIR/Server/"$arch".zip Cuberite
done
+ echo "Packing server.zip ..."
+ cd $BUILDDIR/Server
+ zip -r $BASEDIR/Server/server.zip -@ -x Cuberite < Install/UnixExecutables.list
+
cd $BASEDIR/Server
for file in server.zip armeabi-v7a.zip arm64-v8a.zip x86.zip x86_64.zip; do
echo "Generating sha1 sum for ... $file ..." && \