From 96475270babccf4f8f6a39806a8d9223ebe95723 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 14 May 2018 10:48:35 +0200 Subject: adjust number of jobs --- convert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert b/convert index 5f28702..6f1c133 100755 --- a/convert +++ b/convert @@ -22,7 +22,7 @@ countries=( slovakia slovenia ) -numJobs="$[$(/usr/bin/getconf _NPROCESSORS_ONLN)-2]" +numJobs=$(($(/usr/bin/getconf _NPROCESSORS_ONLN)/2)) if [ ${numJobs} -lt 1 ] then numJobs=1 -- cgit v1.2.3-70-g09d2