Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 48df4dc15515
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 349e54cd17b1
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jul 3, 2016

  1. Copy the full SHA
    df5cf51 View commit details
  2. Copy the full SHA
    349e54c View commit details
Showing with 6 additions and 4 deletions.
  1. +6 −4 bin/jruby-cext-c
10 changes: 6 additions & 4 deletions bin/jruby-cext-c
Original file line number Diff line number Diff line change
@@ -18,10 +18,12 @@ unless SULONG_DIR
abort 'You need to set SULONG_DIR to the location of a built checkout of the Sulong repository'
end

def mx(command, *args)
command = "mx -p #{SULONG_DIR} #{command} #{args.join(' ')}"
puts "$ #{command}"
`#{command}`
def mx(*args)
command = ['mx', '-p', SULONG_DIR]
command.push *['--java-home', ENV['JVMCI_JAVA_HOME']] if ENV['JVMCI_JAVA_HOME']
command.push *args
puts "$ #{command.join(' ')}"
abort unless system(*command)
end

cext_dir = ARGV[0]