Skip to content
Permalink
Browse files
[Truffle] JT: handle args with spaces.
  • Loading branch information
eregon committed Jan 23, 2015
1 parent 0fb5e4b commit 34c57239eed0e1edf2af4ed6e79c34a167c275ab
Showing with 2 additions and 2 deletions.
  1. +2 −2 tool/jt.rb
@@ -14,7 +14,7 @@ module ShellUtils
private

def sh(*args)
system(args.join(' '))
system(*args)
raise "failed" unless $? == 0
end

@@ -63,7 +63,7 @@ def rebuild
end

def run(*args)
sh *(%w[VERIFY_JRUBY=1 bin/jruby -J-cp truffle/target/jruby-truffle-9.0.0.0-SNAPSHOT.jar -X+T] + args)
sh({ "VERIFY_JRUBY" => "1" }, *%w[bin/jruby -J-cp truffle/target/jruby-truffle-9.0.0.0-SNAPSHOT.jar -X+T], *args)
end

def test(*args)

0 comments on commit 34c5723

Please sign in to comment.