Permalink
Browse files

Set MAKE_OPTS only if MAKEOPTS is present [GH issue #149]

  • Loading branch information...
1 parent cacc406 commit 415c9c14376d2bd6c779b10f743bc4b367be1f9c @sax sax committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ruby-build
View
@@ -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"

0 comments on commit 415c9c1

Please sign in to comment.