summaryrefslogtreecommitdiff
path: root/source/n/lftp/lftp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/lftp/lftp.SlackBuild')
-rwxr-xr-xsource/n/lftp/lftp.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/lftp/lftp.SlackBuild b/source/n/lftp/lftp.SlackBuild
index 865e1c4b..900cfad7 100755
--- a/source/n/lftp/lftp.SlackBuild
+++ b/source/n/lftp/lftp.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=lftp
VERSION=${VERSION:-$(echo lftp-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -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