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