summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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