From ea92de5b065984e22dd60cb4c7a18f7f1c53e0a7 Mon Sep 17 00:00:00 2001 From: BtbN Date: Thu, 3 Sep 2020 17:42:23 +0200 Subject: [PATCH] Use zip for better accessibility --- build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 2622add..a645106 100755 --- a/build.sh +++ b/build.sh @@ -42,8 +42,11 @@ mkdir ffbuild/pkgroot package_variant ffbuild/prefix ffbuild/pkgroot mkdir -p artifacts - +ARTIFACTS_PATH="$PWD/artifacts" BUILD_NAME="ffmpeg-$(git --git-dir=ffbuild/ffmpeg/.git describe)-${TARGET}-${VARIANT}" -tar cJf artifacts/"${BUILD_NAME}.tar.xz" -C ffbuild/pkgroot . +cd ffbuild/pkgroot +zip -9 -r "${ARTIFACTS_PATH}/${BUILD_NAME}.zip" ./* +cd - + rm -rf ffbuild