From 415c9c14376d2bd6c779b10f743bc4b367be1f9c Mon Sep 17 00:00:00 2001 From: Eric Saxby Date: Fri, 30 Mar 2012 13:06:50 -0700 Subject: [PATCH] Set MAKE_OPTS only if MAKEOPTS is present [GH issue #149] --- bin/ruby-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ruby-build b/bin/ruby-build index bf4adc96..713ba39b 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -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"