summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-14 10:48:35 +0200
committerErich Eckner <git@eckner.net>2018-05-14 10:48:35 +0200
commit96475270babccf4f8f6a39806a8d9223ebe95723 (patch)
treee6ceed16e9bd4fa96d2f833a4809d5329331e2cb
parentc9246a4c40f80c4f0627270fc129fc923d9eb2c9 (diff)
downloadosm-to-garmin-96475270babccf4f8f6a39806a8d9223ebe95723.tar.xz
adjust number of jobs
-rwxr-xr-xconvert2
1 files changed, 1 insertions, 1 deletions
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