mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-03 15:46:08 -04:00
Change XZ compression level to 6 for older devices
This commit is contained in:
parent
fad7a35e89
commit
946b5b4e20
@ -48,7 +48,7 @@ makearch () {
|
||||
|
||||
|
||||
|
||||
XZ_OPT="-9e --threads=0" tar cJf bin-$2.tar.xz -C "$work1" . > /dev/null 2>&1;
|
||||
XZ_OPT="-6 --threads=0" tar cJf bin-$2.tar.xz -C "$work1" . > /dev/null 2>&1;
|
||||
mv bin-$2.tar.xz "$out"/;
|
||||
rm -rf "$work"/*;
|
||||
rm -rf "$work1"/*;
|
||||
@ -68,7 +68,7 @@ makeuni () {
|
||||
rm -rf man
|
||||
|
||||
compress_jars
|
||||
XZ_OPT="-9e --threads=0" tar cJf universal.tar.xz * > /dev/null 2>&1;
|
||||
XZ_OPT="-6 --threads=0" tar cJf universal.tar.xz * > /dev/null 2>&1;
|
||||
mv universal.tar.xz "$out"/;
|
||||
rm -rf "$work"/*;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user