summaryrefslogtreecommitdiffstats
path: root/parallel_xz.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-11-12 12:18:41 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-11-12 12:18:41 -0600
commitf1879fd534d196a61d446b0d3f70bd3e804390df (patch)
tree60578049c880d3cedd3cf95c2eeadabbd605ba59 /parallel_xz.sh
parentf7a31ded5be91f48f8476388828d97ac5f8f8ca9 (diff)
downloadkernel-f1879fd534d196a61d446b0d3f70bd3e804390df.tar.gz
kernel-f1879fd534d196a61d446b0d3f70bd3e804390df.tar.xz
kernel-f1879fd534d196a61d446b0d3f70bd3e804390df.zip
kernel-5.10.0-0.rc3.20201112git3d5e28bff7ad.71.test
* Thu Nov 12 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc3.20201112git3d5e28bff7ad.71.test] - 3d5e28bff7ad rebase Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'parallel_xz.sh')
-rwxr-xr-xparallel_xz.sh5
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