diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-11-12 20:50:22 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-11-12 20:50:22 +0100 |
commit | c4211c9c342d0421d83765ca57fc36e030be4b5f (patch) | |
tree | 817aa50779315944427a05027a5a5ab7d47107ec /parallel_xz.sh | |
parent | a223d454774cc181f1229969af0895d9242ffb50 (diff) | |
parent | f1879fd534d196a61d446b0d3f70bd3e804390df (diff) | |
download | kernel-c4211c9c342d0421d83765ca57fc36e030be4b5f.tar.gz kernel-c4211c9c342d0421d83765ca57fc36e030be4b5f.tar.xz kernel-c4211c9c342d0421d83765ca57fc36e030be4b5f.zip |
Merge remote-tracking branch 'origin/master' into rawhide-user-thl-vanilla-fedorakernel-5.10.0-0.rc3.20201112git3d5e28bff7ad.73.vanilla.1.fc33
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..07013f149 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 > 12 )); then + procgroup=12 +fi + # If told to use only one cpu: test "$procgroup" || exec xargs -r xz test "$procgroup" = 1 && exec xargs -r xz |