From 44047831b3877c4c299c493ed28fa088ee50a17e Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Tue, 11 Jan 2022 20:20:33 +0200 Subject: [PATCH] SuperTux: fixed more absolute paths in the build script --- project/jni/application/supertux/create-apk-with-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/jni/application/supertux/create-apk-with-data.sh b/project/jni/application/supertux/create-apk-with-data.sh index 43e6a7280..7b0d3b5b7 100755 --- a/project/jni/application/supertux/create-apk-with-data.sh +++ b/project/jni/application/supertux/create-apk-with-data.sh @@ -10,12 +10,12 @@ PASS= OUT=`pwd`/../../../../SuperTux-with-data.apk DATAZIP=`pwd`/../../../../SuperTux-data.zip rm -f $OUT $OUT-aligned +cp -f ../../../../project/app/build/outputs/apk/release/app-release.apk $OUT || exit 1 cd supertux/data || exit 1 if [ -e $HOME/.local/share/supertux2/tilecache ]; then mkdir -p tilecache cp -f $HOME/.local/share/supertux2/tilecache/* tilecache/ fi -cp -f ../../../../../../project/app/build/outputs/apk/release/app-release.apk $OUT || exit 1 if zipmerge -h >/dev/null; then [ -e $DATAZIP ] || zip -r -9 $DATAZIP * || exit 1 zipmerge $OUT $DATAZIP || exit 1