create_addon: use 7zip for addon.zip creation

This commit is contained in:
cvh
2017-08-18 11:31:49 +02:00
parent 32406a7410
commit 6b5ebac327
3 changed files with 11 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ pack_addon() {
fi
cd $ADDON_BUILD
echo "*** compressing Addon $PKG_ADDON_ID ... ***"
zip -rq $PKG_ADDON_ID-$ADDONVER.zip $PKG_ADDON_ID;
$TOOLCHAIN/bin/7za a -l -mx9 -bsp0 -bso0 -tzip $PKG_ADDON_ID-$ADDONVER.zip $PKG_ADDON_ID
cd - &>/dev/null
mkdir -p $ADDON_INSTALL_DIR