summaryrefslogtreecommitdiff
path: root/source/n/npth/npth.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/npth/npth.SlackBuild')
-rwxr-xr-xsource/n/npth/npth.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/npth/npth.SlackBuild b/source/n/npth/npth.SlackBuild
index fee033f7..a838786e 100755
--- a/source/n/npth/npth.SlackBuild
+++ b/source/n/npth/npth.SlackBuild
@@ -45,7 +45,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/pkg-$PKGNAM