Commit 638f28b5 authored by Mislav Marohnić's avatar Mislav Marohnić
Browse files

Merge branch 'rbx-build'

parents 8e16aab8 8b6616b8
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ build_package_ree_installer() {
build_package_rbx() {
  local package_name="$1"

  { bundle
  { bundle --path=vendor/bundle
    ./configure --prefix="$PREFIX_PATH" $RUBY_CONFIGURE_OPTS
    rake install
    fix_rbx_gem_binstubs "$PREFIX_PATH"
@@ -743,11 +743,13 @@ bundle() {
}

isolated_gem_dependency() {
  local output="$(command $1 2>/dev/null || true)"
  if [ -z "$output" ]; then
  set +E
  ( command $1 &>/dev/null ) || {
    set -E
    shift 1
    isolated_gem_install "$@"
  fi
  }
  set -E
}

isolated_gem_install() {
+2 −2
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ DEF
  stub rake false
  stub bundle \
    '--version : echo 1' \
    ' : echo bundle >> build.log' \
    ' : echo bundle "$@" >> build.log' \
    '--version : echo 1' \
    " exec rake install : { cat build.log; echo bundle \"\$@\"; } >> '$INSTALL_ROOT/build.log'"

@@ -229,7 +229,7 @@ DEF
  unstub bundle

  assert_build_log <<OUT
bundle
bundle --path=vendor/bundle
rubinius-2.0.0: --prefix=$INSTALL_ROOT
bundle exec rake install
OUT