mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-19 20:51:59 +01:00
Set MAKE_OPTS only if MAKEOPTS is present [GH issue #149]
This commit is contained in:
parent
cacc406e04
commit
415c9c1437
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ build_package() {
|
|||
build_package_standard() {
|
||||
local package_name="$1"
|
||||
|
||||
if [ -z "${MAKEOPTS+defined}" ]; then
|
||||
if [ "${MAKEOPTS+defined}" ]; then
|
||||
MAKE_OPTS="$MAKEOPTS"
|
||||
elif [ -z "${MAKE_OPTS+defined}" ]; then
|
||||
MAKE_OPTS="-j 2"
|
||||
|
|
Loading…
Reference in a new issue