summaryrefslogtreecommitdiff
path: root/source/a/btrfs-progs/btrfs-progs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/btrfs-progs/btrfs-progs.SlackBuild')
-rwxr-xr-xsource/a/btrfs-progs/btrfs-progs.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/a/btrfs-progs/btrfs-progs.SlackBuild b/source/a/btrfs-progs/btrfs-progs.SlackBuild
index 987a29c0..2de9fe6a 100755
--- a/source/a/btrfs-progs/btrfs-progs.SlackBuild
+++ b/source/a/btrfs-progs/btrfs-progs.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=btrfs-progs
BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Download the btrfs-progs Git head if there's no tarball:
if ! /bin/ls $CWD/btrfs-progs*tar* 1> /dev/null 2> /dev/null ; then