diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-11-19 07:27:53 -0600 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-11-19 07:27:53 -0600 |
commit | b5ca9bd2a0d74a61884af672bac39496ac01971e (patch) | |
tree | 61c8bc1f2974b1ecc406a74055406841b56e1dae /parallel_xz.sh | |
parent | c1ab92cfa5f277e77d3d9cabcb8320d2efab35fd (diff) | |
download | kernel-b5ca9bd2a0d74a61884af672bac39496ac01971e.tar.gz kernel-b5ca9bd2a0d74a61884af672bac39496ac01971e.tar.xz kernel-b5ca9bd2a0d74a61884af672bac39496ac01971e.zip |
Linux v5.9.9
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'parallel_xz.sh')
-rwxr-xr-x | parallel_xz.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/parallel_xz.sh b/parallel_xz.sh index bc08a548d..0d98eadeb 100755 --- a/parallel_xz.sh +++ b/parallel_xz.sh @@ -16,6 +16,11 @@ while test "$#" != 0; do shift done +#This seems to cause problems with large numbers +if (( $procgroup > 6 )); then + procgroup=6 +fi + # If told to use only one cpu: test "$procgroup" || exec xargs -r xz test "$procgroup" = 1 && exec xargs -r xz |