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