Commit 898c008e authored by Fabian M. Borschel's avatar Fabian M. Borschel
Browse files

Support selection of 'make' tool via environment variable

parent 4f458144
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@

RUBY_BUILD_VERSION="20130104"

MAKE=${MAKE:-make}

set -E
exec 3<&2 # preserve original stderr at fd 3

@@ -319,8 +321,8 @@ build_package_standard() {
  fi

  { ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS
    make $MAKE_OPTS
    make install
    $MAKE $MAKE_OPTS
    $MAKE install
  } >&4 2>&1
}