summaryrefslogtreecommitdiff
path: root/source/ap/nano/nano.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/nano/nano.SlackBuild')
-rwxr-xr-xsource/ap/nano/nano.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ap/nano/nano.SlackBuild b/source/ap/nano/nano.SlackBuild
index 3635bb7d..56561f6d 100755
--- a/source/ap/nano/nano.SlackBuild
+++ b/source/ap/nano/nano.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=nano
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then