summaryrefslogtreecommitdiff
path: root/source/ap/lm_sensors/lm_sensors.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/lm_sensors/lm_sensors.SlackBuild')
-rwxr-xr-xsource/ap/lm_sensors/lm_sensors.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ap/lm_sensors/lm_sensors.SlackBuild b/source/ap/lm_sensors/lm_sensors.SlackBuild
index 72abe965..97ec3c1d 100755
--- a/source/ap/lm_sensors/lm_sensors.SlackBuild
+++ b/source/ap/lm_sensors/lm_sensors.SlackBuild
@@ -50,7 +50,7 @@ else
LIBDIRSUFFIX=""
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}